bug-grep
[Top][All Lists]
Advanced

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

bug#26254: grep's -m breaks -A


From: Paul Eggert
Subject: bug#26254: grep's -m breaks -A
Date: Wed, 21 Jun 2017 14:10:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0

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.

Attachment: 0001-grep-m-no-longer-cuts-off-trailing-context.patch
Description: Text Data


reply via email to

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