Howto beautify xml and json from a bash script

Sometime may happens you need to beautify xml or json from a bash script. So here there are two methods to easily obtaing a pretty print of your data:

Command to beautify XML

Command to beautify JSON

In case you miss above tools on your system, they can be installed with

Good luck!

Lascia una risposta

L'indirizzo email non verrĂ  pubblicato. I campi obbligatori sono contrassegnati *

È possibile utilizzare questi tag ed attributi XHTML:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">