3 ms·
"gron | rg", because life is too short to learn jq. Amazing work on rg!
by lillecarl 4y ago
"gron | rg", because life is too short to learn jq.
Amazing work on rg!
- tambourine_man 4y agoOMG, thank you. jq is great but its syntax is impossible to memorize. This is so much better.
- lillecarl 4y agoAny time! Yeah jq is great, but my usecase is covered better by these two together. Truly the Unix philosophy at it's finest. It's the only way I search JSON these days! (or YAML with "yq | gron | rg" to get results, pop into (n)vim and to my thing :)
- pmarreck 4y agoWait, does ripgrep understand json or something??
- burntsushi 4y agoNo. `gron` understands JSON and flattens it, effectively turning it into line oriented data.