mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
521 B
Plaintext
22 lines
521 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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 {{[unesc|unescape]}} --help`
|