Re:“You meant to install ripgrep”
by tambourine_man on Monday October 17, 2022 @06:11PM
(#33240169)
OMG, thank you. jq is great but its syntax is impossible to memorize. This is so much better.
Re:“You meant to install ripgrep”
by carlhjerpe on Monday October 17, 2022 @06:17PM
(#33240234)
Any 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 :)
Wait, does ripgrep understand json or something??
Re:“You meant to install ripgrep”
by burntsushi on Monday October 17, 2022 @08:38PM
(#33241544)
No. `gron` understands JSON and flattens it, effectively turning it into line oriented data.
Amazing work on rg!