2021-08-16 13:23:55 +01:00
|
|
|
# xml unescape
|
2021-08-14 23:17:52 +01:00
|
|
|
|
2021-08-24 02:26:03 +01:00
|
|
|
> Unescape special XML characters, e.g. `<a1>` → `<a1>`.
|
2021-08-15 12:19:09 +01:00
|
|
|
> More information: <http://xmlstar.sourceforge.net/docs.php>.
|
2021-08-14 23:17:52 +01:00
|
|
|
|
2021-08-15 02:49:20 +01:00
|
|
|
- Unescape special XML characters from a string:
|
|
|
|
|
2021-08-16 13:23:55 +01:00
|
|
|
`xml unescape "{{<a1>}}"`
|
2021-08-15 02:49:20 +01:00
|
|
|
|
2022-12-04 07:53:34 +00:00
|
|
|
- Unescape special XML characters from `stdin`:
|
2021-08-15 02:49:20 +01:00
|
|
|
|
2021-08-16 13:23:55 +01:00
|
|
|
`echo "{{<a1>}}" | xml unescape`
|
2021-08-15 02:49:20 +01:00
|
|
|
|
2021-08-16 13:23:55 +01:00
|
|
|
- Display help for the `unescape` subcommand:
|
2021-08-14 23:17:52 +01:00
|
|
|
|
|
|
|
`xml escape --help`
|