Have I mentioned lately how much I love
jq? I love it so much. I've seen it billed as "sed for json", but as a PL nerd it really goes a couple steps beyond that.
One obvious thing is that it lets you program in the list monad with very simple syntax. I can do things like
$ echo "[[1,2,3],[4,5,6],[7,8,9]]" | jq ".[][]"
1
2
3
4
5
6
7
8
9
and
$
(
Read more... )