Este é um blog onde anoto dicas técnicas de informática e computação.
This is a blog where I write down technical tips on computing.
Be aware that some resources used in this blog may use cookies to collect information used by Ads and Google Analytics. I do not monetize from this website, neither require or use personal information.
Thursday, September 29, 2016
How to format xml inside Vi using external commando like xmllint
Open a xml file
vi input.xml
and execute command
:%!xmllint --format -
%! (pipe current buffer to xmllint command)
xmllint --formart - ( the "-" use the piped data as input )
No comments:
Post a Comment