News for hackers. Stuff that matters.
Re:The sad state of sysadmin in the age of containers (2015) by mst on Wednesday May 16, 2018 @01:24PM (#17084341)
> `JSON.parse` and a working subscript operator

https://github.com/ingydotnet/json-bash

    source json.bash
    
    json='{"name":"Jason","friends":["Jimmy","Joe"]}'
    JSON.load "$json"
    joe=$(JSON.get /friends/1)
    JSON.put /friends/2 Jeff
    new_json=$(JSON.dump)
It's still not as trivial as javascript, but "tooth-pullingly difficult" is a little unfair.
Re:The sad state of sysadmin in the age of containers (2015) by eropple on Wednesday May 16, 2018 @01:45PM (#17084585)
Again: sh, not bash. If I have the freedom to specify bash, I can specify something better than bash or sh.