|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#18863: closed (grep -b bug) |
Date: | Tue, 28 Oct 2014 12:39:03 +0000 |
Your message dated Tue, 28 Oct 2014 06:37:58 -0600 with message-id <address@hidden> and subject line Re: bug#18863: grep -b bug has caused the debbugs.gnu.org bug report #18863, regarding grep -b bug to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 18863: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18863 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: grep -b bug Date: Mon, 27 Oct 2014 15:49:12 +0800 Hi,
I found that "grep -b" doesn't work on my machine.
the expected result for below command is "7:not", but I got 0
$ echo gnu is not unix | grep -b -o "not"
0:not
Bash version 3.2.25
Linux version 2.6.18
Thanks.
发自邮箱大师
--- End Message ------ Begin Message ---Subject: Re: bug#18863: grep -b bug Date: Tue, 28 Oct 2014 06:37:58 -0600 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 tag 18863 notabug thanks On 10/27/2014 01:49 AM, 王琦 wrote: > Hi, I found that "grep -b" doesn't work on my machine. the expected result > for below command is "7:not", but I got 0 $ echo gnu is not unix | grep -b -o > "not" 0:not Bash version 3.2.25 Linux version 2.6.18 Thanks. 发自邮箱大师 [your report was hard to read because you failed to use line wrapping] Thanks for the report. However, I cannot reproduce it on newer grep, and have to assume the error has either been fixed in the meantime. Therefore, I'm closing out this bug report, although you should feel free to make further comments or even reopen this if you can demonstrate that a problem still exists. $ grep --version | head -n1 grep (GNU grep) 2.18 $ echo gnu is not unix | grep -b -o not 7:not -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.orgsignature.asc
Description: OpenPGP digital signature
--- End Message ---
[Prev in Thread] Current Thread [Next in Thread]
- [debbugs-tracker] bug#18863: closed (grep -b bug), GNU bug Tracking System <=
- Prev by Date: [debbugs-tracker] Processed: Re: bug#18863: grep -b bug
- Next by Date: [debbugs-tracker] Processed: retitle 18872
- Previous by thread: [debbugs-tracker] Processed: Re: bug#18863: grep -b bug
- Next by thread: [debbugs-tracker] Processed: retitle 18872
- Index(es):