mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 09:42:07 +02:00

* pages*: use generic word for help * git: add newline to the end Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * pages*: make help and version commands comply with the style guide * java: fix Java name --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
338 B
338 B
xml escape
Escape special XML characters, e.g.
<a1>
→<a1>
. More information: http://xmlstar.sourceforge.net/doc/xmlstarlet.pdf.
- Escape special XML characters in a string:
xml escape "{{<a1>}}"
- Escape special XML characters from
stdin
:
echo "{{<a1>}}" | xml escape
- Display help:
xml escape --help