Last active
May 30, 2016 12:56
-
-
Save pankpan/ab491ec9c74e2085b6ae15bdcd5fb437 to your computer and use it in GitHub Desktop.
XML formating
This file contains 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
# cat xml | |
<?xml version="1.0"?><package><name>ssh2</name><channel>pecl.php.net</channel><summary>Bindings for the libssh2 library</summary></package> | |
# cat xml | xmllint --format - | |
<?xml version="1.0"?> | |
<package> | |
<name>ssh2</name> | |
<channel>pecl.php.net</channel> | |
<summary>Bindings for the libssh2 library</summary> | |
</package> | |
# cat xml | xmlstarlet fo | |
<?xml version="1.0"?> | |
<package> | |
<name>ssh2</name> | |
<channel>pecl.php.net</channel> | |
<summary>Bindings for the libssh2 library</summary> | |
</package> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment