Hacker News new | ask | show | jobs
Skip grep, use awk (blog.jpalardy.com)
1 points by jpalardy 3274 days ago
1 comments

> 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/'