Hacker News new | ask | show | jobs
by dozzie 3274 days ago
> 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/'