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: Un-escape special XML characters.
> More information: <https://http://xmlstar.sourceforge.net/doc/xmlstarlet.pdf>.
- Unescape special XML characters from a string:
`xml unescape {{"&lt;a1&gt;"}}`
- Unescape special XML characters from standard input:
`echo {{"&lt;a1&gt;"}} | xml unescape`
- Display help for `unescape` subcommand:
`xml escape --help`