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

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

[debbugs-tracker] bug#27813: closed (grep bug)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#27813: closed (grep bug)
Date: Tue, 25 Jul 2017 07:59:02 +0000

Your message dated Tue, 25 Jul 2017 00:58:39 -0700
with message-id <address@hidden>
and subject line Re: bug#27813: grep bug
has caused the debbugs.gnu.org bug report #27813,
regarding grep bug
to be marked as done.

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


-- 
27813: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27813
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: grep bug Date: Mon, 24 Jul 2017 17:12:20 -0700 User-agent: SquirrelMail/1.4.22-16.el7
File X contains a line with:

#else

Grepping:

case 1: 'grep -Ew -e "#else" X' returns "0":
#else

case 2: 'grep -E -e "\<#else\>" X' returns "1":

Same for -G

-F returns "0" for first case.





--- End Message ---
--- Begin Message --- Subject: Re: bug#27813: grep bug Date: Tue, 25 Jul 2017 00:58:39 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
Micah wrote:
File X contains a line with:

#else

Grepping:

case 1: 'grep -Ew -e "#else" X' returns "0":
#else

case 2: 'grep -E -e "\<#else\>" X' returns "1":

Although grep is operating as documented here, the documentation could be better. I installed the attached patch to try to clear things up. Thanks for reporting the problem.

Attachment: 0001-doc-distinguish-w-from.patch
Description: Text Data


--- End Message ---

reply via email to

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