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

Another option is to use a tool like 'gron' to convert the JSON into a shell-friendly line-oriented format. This makes the rest straightforward.

https://github.com/tomnomnom/gron



jq can do something like that too! Check out its --stream option.


Oh, this sounds handy, though i can’t imagine it’d be as performant for this particular case.




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

Search: