Skip to content

Archives

(Untitled)

Brilliant! A while ago, Dan Lyke commented, Wouldn’t it be cool to be able to do gzip -dp phonelist.gnumeric | xmlsearch “select phonenumber, longdistanceprice from phonelist.person.work” | xmlsort “person.longdistanceprice”?

Well, here’s a step along that very road. xml2 converts XML into line-oriented name=value pairs, perfect for Perl, awk, grep or sed to mangle in the traditional UNIX style.

I can see this one coming in very handy!

It also points to Pyxie, which sounds similar — but I think I like the xml2 notation better.

Comments closed