mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-08 16:06:02 +02:00
16 lines
424 B
Markdown
16 lines
424 B
Markdown
# xml unescape
|
|
|
|
> Unescape special XML characters, e.g. `<a1>` → `<a1>`.
|
|
> More information: <https://xmlstar.sourceforge.net/doc/UG/xmlstarlet-ug.html#idm47077139540960>.
|
|
|
|
- Unescape special XML characters from a string:
|
|
|
|
`xml {{[unesc|unescape]}} "{{<a1>}}"`
|
|
|
|
- Unescape special XML characters from `stdin`:
|
|
|
|
`echo "{{<a1>}}" | xml {{[unesc|unescape]}}`
|
|
|
|
- Display help:
|
|
|
|
`xml {{[esc|escape]}} --help`
|