1 |
>>>>> On Mon, 22 Aug 2016, William Hubbs wrote: |
2 |
|
3 |
> Display-If-Installed: <sys-apps/openrc-0.22 |
4 |
|
5 |
Why the condition on the version number? |
6 |
|
7 |
> # emerge --oneshot -av $(grep -l "#!/sbin/runscript" /etc/init.d/*) |
8 |
|
9 |
Hm, I think you'll want single quotes there, otherwise the exclamation |
10 |
mark could trigger bash history expansion. Alternatively, grep for |
11 |
/sbin/runscript without the shebang (with the additional advantage |
12 |
that it would also catch cases with whitespace after the #!). |
13 |
|
14 |
Ulrich |