bug-grep
[Top][All Lists]
Advanced

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

bug#24024: grep: Mixing "max-count" and "after-context" outputs too few


From: Norihiro Tanaka
Subject: bug#24024: grep: Mixing "max-count" and "after-context" outputs too few lines
Date: Wed, 27 Jul 2016 00:38:02 +0900

> Igor Bogomazov <address@hidden> filed the following bug against grep in
> Debian.
> 
> > $ printf '%s\n' a b a c | grep -m1 -A3 a
> > 
> > What I see:
> > 
> > a
> > b
> > 
> > What I expect:
> > 
> > a
> > b
> > a
> > c

As long as looking at prepending(), I see that it is designed but not
documented.






reply via email to

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