Hacker News new | ask | show | jobs
by abjr 4662 days ago
Why not:

  awk '/bar/ { print $1 }' file | sort -u