public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: William Hubbs <williamh@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] newsitem: OpenRC runscript transition (draft 2)
Date: Mon, 22 Aug 2016 16:45:25 -0500	[thread overview]
Message-ID: <20160822214525.GA18116@whubbs1.gaikai.biz> (raw)
In-Reply-To: <22459.22604.492563.512013@a1i15.kph.uni-mainz.de>

[-- Attachment #1: Type: text/plain, Size: 754 bytes --]

On Mon, Aug 22, 2016 at 09:53:48PM +0200, Ulrich Mueller wrote:
> >>>>> On Mon, 22 Aug 2016, William Hubbs wrote:
> 
> > Display-If-Installed: <sys-apps/openrc-0.22
> 
> Why the condition on the version number?

I suppose I could change this to just sys-apps/openrc

> 
> > # emerge --oneshot -av $(grep -l "#!/sbin/runscript" /etc/init.d/*)
> 
> Hm, I think you'll want single quotes there, otherwise the exclamation
> mark could trigger bash history expansion. Alternatively, grep for
> /sbin/runscript without the shebang (with the additional advantage
> that it would also catch cases with whitespace after the #!).

Is '#! /sbin/runscript' a valid shebang line? I didn't think you could
have whitespace after the '#!'.

William

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2016-08-22 21:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-22 19:03 [gentoo-dev] newsitem: OpenRC runscript transition (draft 2) William Hubbs
2016-08-22 19:52 ` Pacho Ramos
2016-08-22 19:53 ` Ulrich Mueller
2016-08-22 21:45   ` William Hubbs [this message]
2016-08-23  0:56     ` [gentoo-dev] " Jonathan Callen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160822214525.GA18116@whubbs1.gaikai.biz \
    --to=williamh@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox