16 Mar
2017
16 Mar
'17
05:33
On 03/15/2017 09:45 PM, L A Walsh wrote:
Marc Chamberlin wrote:
Ok I am puzzled, why does grep fail ...
Here is an example of a failure using a simple grep command -
darkstar:/usr/lib/systemd/system # grep run * grep: invalid option -- '.' Usage: grep [OPTION]... PATTERN [FILE]...
Try grep -- run *
Likely some file name is being taken as a grep option.
OKeyDoKey! Didn't see that one coming or in the documentation! A magic dash dash does the trick! Thanks L A Walsh for the proper incantation. Marc... -- "The Truth is out there" - Spooky -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org