On Tue, Apr 25, 2017 at 02:45:14AM CDT, L. A. Walsh wrote:
/usr/bin/grep --color=auto -I -D skip -d skip -exclude-from=EX -P -r xrm
/usr/bin/grep: xrm: No such file or directory
/usr/bin/grep --version
/usr/bin/grep (GNU grep) 2.21.31-adf9

How did 'xrm' become a file name?

It happened after I added the "-exclude-from=EX -P -r"
to an alias... but it happens when I use
the binary directly (i.e. no alias).

I was expecting 'xrm' to be a pattern that was searched
for in the files starting at the current directory.

"New" to me -- use of the -exclude-from option.
Of note: EX contains:
*.orig
*.1
*.1.in


Ideas?  Doesn't seem like correct action...


Perhaps '--exclude-from' rather than '-exclude-from'?




Reply via email to