1 |
On Mon, Aug 22, 2016 at 09:53:48PM +0200, Ulrich Mueller wrote: |
2 |
> >>>>> On Mon, 22 Aug 2016, William Hubbs wrote: |
3 |
> |
4 |
> > Display-If-Installed: <sys-apps/openrc-0.22 |
5 |
> |
6 |
> Why the condition on the version number? |
7 |
|
8 |
I suppose I could change this to just sys-apps/openrc |
9 |
|
10 |
> |
11 |
> > # emerge --oneshot -av $(grep -l "#!/sbin/runscript" /etc/init.d/*) |
12 |
> |
13 |
> Hm, I think you'll want single quotes there, otherwise the exclamation |
14 |
> mark could trigger bash history expansion. Alternatively, grep for |
15 |
> /sbin/runscript without the shebang (with the additional advantage |
16 |
> that it would also catch cases with whitespace after the #!). |
17 |
|
18 |
Is '#! /sbin/runscript' a valid shebang line? I didn't think you could |
19 |
have whitespace after the '#!'. |
20 |
|
21 |
William |