So, I know that to cut out lines matching a keyword, you can do something like
grep -v "keyword"
And you can get lines before and after with grep using the -A and -B switches... However, when you combine the two...
grep -A 15 -B 1 -v "keyword"
It does NOT cut out all 16 lines of text from the output... It actually doesn't appear to do anything at all, near as I can tell. Is there some other way I can get this functionality, where I can search for a keyword, and then remove defined surrounding content?