bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26648: What's wrong w/this grep?


From: Paul Eggert
Subject: bug#26648: What's wrong w/this grep?
Date: Tue, 25 Apr 2017 00:55:24 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

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?

Because you omitted a "-" before "-exclude", and that caused your pattern to be 'xclude-from=EX'.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]