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