On Sat, Jan 18, 2020 at 09:45:22AM -0600, Michael Parson wrote:
And here, understanding the model is important, namely, grep is the
wrong tool for searching/parsing JSON output. Dealing with JSON from the
shell, you should use jq. I've been dragged kicking and screaming into
dealing with JSON, and about all I can say about it is, I like it about
this >< much more than XML. :)
If push comes to shove, one can always use xmlawk (xml extension for gawk)
to beat the latter in to submission.
DF