Re:The Bash Hackers Wiki
by vaingloriole on Saturday February 22, 2020 @10:23AM
(#22391427)
Would never use python in lieu of curl/jq for json handling unless I am writing something more complicated than a shell script. catch 22.
[ Parent
| on HN ]
Re:The Bash Hackers Wiki
by ShorsHammer on Saturday February 22, 2020 @09:42PM
(#22394749)
If it gets the job done good on you.
Each to their own. Simply saying what I would look for.
Have any examples of your apt install jq script? How would you install jq on a few hundred machines also?
I'd be happy to share an example of an out of the box python script that does the same job and works virtually everywhere.