4 ms·
At that point why not write a Python script?
by brundolf 6y ago
At that point why not write a Python script?
- eloycoto 6y agoI'm not disagree with you, but in this case all stored in custom dotfiles, as functions, easy to use IMHO than a custom Python script. But I use a lot JQ, so it's super easy for me ;-)
- kbrazil 6y agoShameless plug, but I created jello[0] to give you the ease of parsing json in bash, but using python syntax[1] [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...
- naniwaduni 6y agojq is a much, much more expressive language than Python at applying similar operations to the list of inputs (with fanout!).
- fiddlerwoaroof 6y agoYeah, jq has some of the benefits that APL users like to talk about.
- Too 6y agoHow about combining the best of both worlds: https://github.com/mwilliamson/jq.py https://github.com/mwilliamson/jq.py