On Wed, Sep 17, 2014 at 11:30 AM, David Collier-Brown <davec-b@rogers.com> wrote:
Courtesy of Nat Torkington at O'Reilly

  1. pup — commandline tool for parsing and processing HTML.
https://github.com/EricChiang/pup

 
An alternate method of doing similar selector-based tricks from a shell, using node.js & the cheerio module:

http://strongloop.com/strongblog/node-js-v0-12-shell-programming-synchronous-child-process/

Note: this currently requires node.js unstable; the next stable release is due out soon though. =)

Also, syntax highlighting in the output would likely need to be added, perhaps using the ansi module (or similar): https://github.com/TooTallNate/ansi.js

--
  Scott Elcomb         @psema4
  http://psema4.com/pubkey.txt
     http://www.pirateparty.ca/