3 ms·
I really enjoyed this article, and I think it shows how successfully jq fits into the Unix culture of sed/awk/grep/etc. It seems so rare to find new CLUI tools
by pjungwir 8y ago
I really enjoyed this article, and I think it shows how successfully jq fits into the Unix culture of sed/awk/grep/etc. It seems so rare to find new CLUI tools that feel as "classical" as jq. It has helped me do one-off tasks like this several times, but I've really only scratched the surface. Often with newer tools I'm reluctant to invest in going deeper into really learning the features, but with jq I have a lot of confidence that it would pay off for years to come. I don't see any books yet, but this is about the phase where I'd normally buy an O'Reilly volume (hint hint).
Btw I'm surprised you needed -M, since I thought jq would suppress colors if it saw it wasn't writing to a tty.
- jeroenjanssens 8y agoChapter 5 of Data Science at the Command Line (O'Reilly, 2014) mentions `jq` briefly: https://www.datascienceatthecommandline.com/chapter-5-scrubbing-data.html#working-with-xmlhtml-and-json https://www.datascienceatthecommandline.com/chapter-5-scrubb...
- sigi45 8y agoI had the opposite thought when I used it for the first time. Even when reading the article I thought about it :)