xml: added escape, unescape, validate subcommands

This commit is contained in:
Daniel Birket
2021-08-14 21:49:20 -04:00
committed by Starbeamrainbowlabs
parent 9916a0b0f7
commit 3fd2da89bb
4 changed files with 36 additions and 4 deletions

View File

@@ -3,6 +3,14 @@
> XMLStarlet toolkit: Escape special XML characters.
> More information: <https://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`