>>>>> On Mon, 22 Aug 2016, William Hubbs wrote: > Display-If-Installed: # 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 #!). Ulrich