[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26576: -v when used with -C
From: |
積丹尼 Dan Jacobson |
Subject: |
bug#26576: -v when used with -C |
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.
bug#26576: -v when used with -C, 積丹尼 Dan Jacobson, 2017/04/20
bug#26576: -v when used with -C, 積丹尼 Dan Jacobson, 2017/04/20