I wanted to see the third line after the line that matched,

grep -B -2 -A 3 important file

It seems that negative values aren't allowed.

I wonder if others think this would be useful, and not
so hard to add.

-- glen

Reply via email to