Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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

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



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: