bug-grep
[Top][All Lists]
Advanced

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

bug#18863: grep -b bug


From: Eric Blake
Subject: 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.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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