bug-grep
[Top][All Lists]
Advanced

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

bug#17516: [PATCH] grep: no count newline at the head of a text buffer


From: Eric Blake
Subject: bug#17516: [PATCH] grep: no count newline at the head of a text buffer
Date: Wed, 21 May 2014 22:52:30 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

On 05/21/2014 10:34 PM, Jim Meyering wrote:
> On Sat, May 17, 2014 at 3:59 PM, Norihiro Tanaka <address@hidden> wrote:
>> Thanks for the review and push.
>>
>> I also submit a test case for this bug.  It fails in grep-2.18.146-ebf3,
>> and succeeds in current master.
> 
> Thanks again.
> However, that new test made it so "make syntax-check" would fail.
> I've suppressed that new failure via the attached:

It's also possible to rewrite the line:

grep -f in 'in' >out || fail=1

so as to avoid needing the suppression (I'm not sure which is prettier).

-- 
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]