1 comment

[ 3.1 ms ] story [ 6.4 ms ] thread
> But “grep -v” is OK…

> It’s possible to emulate grep -v with awk, but it’s not a good idea:

  $ [data is generated] | awk '/something/ {next} 1'
Ever heard of logical operator of negation?

  awk '!/something/'