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

https://stedolan.github.io/jq/ is good for filtering json in a similar manner.


A way to get the same output as the first example, would be:

   curl -s  https://api.github.com/repos/elves/elvish/issues  | jq -r  '.[] | [(.number|tostring), .title] | join(": ")'




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

Search: