4 ms·
jq is great, but I doubt I'll ever be able to remember its syntax...
by bauerd 6y ago
jq is great, but I doubt I'll ever be able to remember its syntax...
- jillesvangurp 6y agoSame here. I always end up googling things I know it can do because I've done them before. I just can't remember the syntax.
- williamdclt 6y agoLike half my CLI tools, to be honest. I usually mash together a 10-steps pipeline of jq, grep (-v), vim, xargs until I find the data I need. If I need a reliable processing pipeline, I can afford to google 10min for how to use jq in more details!
- kbrazil 6y agoShameless plug, but that was one of the reasons I created jello[0], which allows you to use pure python list/dict/comprehension, etc. syntax. Also, here is a blog post[1] explaining in more detail. [0]https://github.com/kellyjonbrazil/jello https://github.com/kellyjonbrazil/jello [1]https://blog.kellybrazil.com/2020/03/25/jello-the-jq-alternative-for-pythonistas/ https://blog.kellybrazil.com/2020/03/25/jello-the-jq-alterna...