Subject: Re: bug#26576: -v when used with -C

From: 積丹尼 Dan Jacobson <[email-masked]>
Date: Thu, 20 Apr 2017 23:37:03 +0800

I want to do
$ cat file|some_program
but I must must exclude the UGLY line and its two neighbors.

OK I have found the UGLY line, and its two neighbors
$ grep -C 2 UGLY file
bla
bla
UGLY
bla
bla

but I have no way to exclude them before piping to some_program.