mktar: Use `wc` instead of `du` in summary message
[sunny256-utils.git] / xmlformat
blob086362b4bd01c0ba1c48bf1a6c937577e8b9df4d
1 #!/usr/bin/env bash
3 # xmlformat
4 # File ID: f302df20-5d49-11df-b987-90e6ba3022ac
5 # Reformats XML files to show the structure. WARNING! The script may
6 # fuck up whitespaces, it’s only meant for examining the XML structure.
8 cat $* | tr -d '\r' | rmspcall | tr '\n' ' ' | xmllint --format --encode UTF-8 -