GNU bug report logs - #26254
grep's -m breaks -A

Previous Next

Package: grep;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Sat, 25 Mar 2017 16:25:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


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

From: Jim Meyering <jim <at> meyering.net>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 26254 <at> debbugs.gnu.org, Nicholas Sushkin <nsushkin <at> openfinance.com>,
 Stuart MacDonald <stuartm.coding <at> gmail.com>
Subject: Re: bug#26254: grep's -m breaks -A
Date: Wed, 21 Jun 2017 18:27:02 -0700
On Wed, Jun 21, 2017 at 2:10 PM, Paul Eggert <eggert <at> cs.ucla.edu> wrote:
> On 06/17/2017 08:24 PM, Paul Eggert wrote:
>>
>>
>> This would also change the meaning of grep -v --max-count=NUM
>
>
> After looking into this, my proposal was too drastic. So I am attaching a
> more modest patch that would simply change grep's behavior along the lines
> requested. Athough this is an incompatible change, I think almost all users
> who care about it will prefer the new behavior. If there is a problem with
> it I suppose we could have an option to select the old behavior, but I hope
> it doesn't come to that.

Thanks for all of that careful work. It looks fine to me.
Please add a reference to this bug number, 26254, in the commit log.




This bug report was last modified 8 years and 54 days ago.

Previous Next


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