bug-grep
[Top][All Lists]
Advanced

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

Re: [patch #7132] Small change to grep-2.6


From: Paolo Bonzini
Subject: Re: [patch #7132] Small change to grep-2.6
Date: Thu, 25 Mar 2010 10:35:05 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.3

On 03/25/2010 10:17 AM, Jim Meyering wrote:
Norihiro Tanaka wrote:
This problem is easily reproduced with both -w option and backref.

Hi Norihiro,

Thank you for the example.

To illustrate the problem on the command line, I did this:

     $ printf '%s\n' baa aax aa 'aa rest' zz | src/grep -Ew '(a)\1'; echo
     aaaa

Note how it prints only the matching text, but neither
the newline of line 3 nor the " rest\n" of line 4.

Does one of your patches fix that problem?
None of Paolo's 3-patch series appears to do so.

Yes, it wasn't included in the series due to lack of a testcase.

Paolo




reply via email to

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