xml2

These days, you can find a lot of xml data floating around. A lot of programs have an export-to-xml feature. In the unix world there are a lot of tools that can do very useful things to documents but on a line by line basis and xml documents which have line breaks and padding and indentation and what not can be a pain in the but to parse. So Dan Egnor presents xml2, a nifty little utility that (with it’s brother html2) converts structured documents into a line by line equivalent that you can feed into your favourite grep|sed|awk pipeline.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: