escape Escape special XML characters, e.g. <a1> → &lt;a1&gt;. More…
Escape special XML characters, e.g.
<a1>
→<a1>
. More information: http://xmlstar.sourceforge.net/doc/xmlstarlet.pdf.
xml escape "{{<a1>}}"
echo "{{<a1>}}" | xml escape
escape
subcommand:xml escape --help