bug-grep
[Top][All Lists]
Advanced

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

bug#39591: grep v3.4 after-context


From: Adams, John
Subject: bug#39591: grep v3.4 after-context
Date: Thu, 13 Feb 2020 16:49:17 +0000

Recent greps do not behave as documented with respect to after-context.  In the 
past I've been accustomed to -AX meaning print X lines of after context.  That 
is not how gnu grep is working now, but it is how it is documented.  In fact 
-AX, which I tested with a v3.4 that I build on Ubuntu 18, will print X+1 lines 
of after-context.  If you want 1, you must say -A0.


reply via email to

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