Created
March 14, 2012 00:39
-
-
Save danielcompton/2033011 to your computer and use it in GitHub Desktop.
Shell script to convert hex encoded XML to cleanly formatted XML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
xxd -revert -plain $1 > /tmp/hexmltemp.xml | |
xmllint --format /tmp/hexmltemp.xml > $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment