Hacker News new | ask | show | jobs
by webo 2558 days ago
as far as i can tell, jq doesn't do flattening .
2 comments

Not built in, but @jolmg posted a script here which does the needful.
Maybe GP meant that jq can do selection as well, i.e. that grepping is redundant after jq. But jq is much more complicated to learn and grep works on all inputs (not just json), so it makes a lot more sense to learn and use grep properly.