mirror of https://github.com/CrimsonTome/tldr.git
338 B
338 B
xml-escape
Escape special XML characters. More information: http://xmlstar.sourceforge.net/doc/xmlstarlet.pdf.
- Escape special XML characters in a string:
xml escape {{"<a1>"}}
- Escape special XML characters in standard input:
echo {{"<a1>"}} | xml escape
- Display help for
escape
subcommand:
xml escape --help