emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#26648: closed (What's wrong w/this grep?)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#26648: closed (What's wrong w/this grep?)
Date: Tue, 25 Apr 2017 07:56:01 +0000

Your message dated Tue, 25 Apr 2017 00:55:24 -0700
with message-id <address@hidden>
and subject line Re: bug#26648: What's wrong w/this grep?
has caused the debbugs.gnu.org bug report #26648,
regarding What's wrong w/this grep?
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
26648: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26648
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: What's wrong w/this grep? Date: Tue, 25 Apr 2017 00:45:14 -0700 User-agent: Thunderbird
 /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...






--- End Message ---
--- Begin Message --- Subject: Re: 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'.


--- End Message ---

reply via email to

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