Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by jayknight

2 years ago

bash (at least) has a built-in mechanism to do that

diff <(cmd1 | grep foo) <(cmd2 | grep foo)

1 comment

jayknight

Reply

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities