With a little side of applesauce...

Monday, May 5, 2008

XML - replace tidy with sed to grep status codes

The following will add a newline to XML, so that you can grep it out:

sed 's|/*>|&\n|g'


Handy!!

No comments: