GNU bug report logs - #18863
grep -b bug

Previous Next

Package: grep;

Reported by: 王琦 <wq_brilliant <at> 163.com>

Date: Tue, 28 Oct 2014 07:15:03 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


Message #7 received at control <at> debbugs.gnu.org (full text, mbox):

From: Eric Blake <eblake <at> redhat.com>
To: 王琦 <wq_brilliant <at> 163.com>, 18863-done <at> debbugs.gnu.org
Subject: Re: bug#18863: grep -b bug
Date: Tue, 28 Oct 2014 06:37:58 -0600
[Message part 1 (text/plain, inline)]
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

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 10 years and 287 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.