Hacker News new | ask | show | jobs
by seanp2k2 4254 days ago
+1 for jq. A lot of my work these days involves using web APIs in addition to "local" ones from CLI tools. xpath was good for dealing with XML stuff in a similar fashion, and HTML-XML-utils is an awesome suite of CLI things for slicing and dicing, if you're into that sort of thing: http://www.maketecheasier.com/manipulate-html-and-xml-files-...
1 comments

xmlstarlet is also handy for command-line XML parsing:

http://xmlstar.sourceforge.net/

Agree, had to use it extensively several years ago, it saved me so much time. But even then the development seemed to have stopped on this tool.