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

Nitpick: diff takes filenames as arguments, so comparing the output of two commands would need the `<()` expansion. So the command would be `diff <(jq . $fileOne) <(jq . $fileTwo)`


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

Search: