bug-grep
[Top][All Lists]
Advanced

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

bug#16723: Bug using -A and -v at least in 2.14 of grep !?


From: Paul Eggert
Subject: bug#16723: Bug using -A and -v at least in 2.14 of grep !?
Date: Sat, 08 Mar 2014 15:13:13 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

Sorry, I don't see a bug here. grep -v PAT matches all lines that do not match PAT. If a line doesn't contain the word 'stylesheet', 'grep -v stylesheet' will match the line even if it is adjacent to a line that does contain 'stylesheet', and -A 2 will then print the adjacent line.





reply via email to

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