Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Parsing JSON (Re: I Hate Ubuntu)



On May 8, 2018, Mike Small wrote:
>[YAML/JSON are] Still not much fun if your language is bourne
>shell, which I'm going to guess would be the most common choice for
>getting at this kind of file.

FYI, if you need to parse JSON from the shell, try jq:

  https://stedolan.github.io/jq/

I've used it for several projects on Linux & Windows and been
impressed. It does have a bit of a learning curve, but then, so does
sed. :-)

--
Dan Barrett
dbarrett at blazemonger.com




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org