News for hackers. Stuff that matters.
Re:Hints for writing Unix tools by seanp2k2 on Monday October 20, 2014 @09:56PM (#8485555)
+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-...
Re:Hints for writing Unix tools by grosskur on Tuesday October 21, 2014 @01:00AM (#8485954)
xmlstarlet is also handy for command-line XML parsing:

http://xmlstar.sourceforge.net/

Re:Hints for writing Unix tools by reirob on Tuesday October 21, 2014 @02:30AM (#8486198)
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.