Skip to content

Instantly share code, notes, and snippets.

@antmd
Last active November 3, 2020 11:00
Show Gist options
  • Save antmd/78982fafc4998cec39a0b5a0cec72ca3 to your computer and use it in GitHub Desktop.
Save antmd/78982fafc4998cec39a0b5a0cec72ca3 to your computer and use it in GitHub Desktop.
XML pretty
#!/bin/bash
cat "$1” | xmlstarlet fo | source-highlight -f esc256 -s xml | less -rFX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment