Linux command
xml-unescape 命令
文本
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Unescape XML entities in a string
xml unescape "[<text>]"
Unescape XML entities from stdin
echo "[<text>]" | xml unescape
Using the short alias
xml unesc "[<text>]"
说明
xml unescape (also `xml unesc`) converts XML entities back to their original characters. Part of the XMLStarlet toolkit. Decodes &lt; &gt; &amp; &apos; &quot; and numeric character references to their original characters.
参数
- --help
- Display usage information.
FAQ
What is the xml-unescape command used for?
xml unescape (also `xml unesc`) converts XML entities back to their original characters. Part of the XMLStarlet toolkit. Decodes &lt; &gt; &amp; &apos; &quot; and numeric character references to their original characters.
How do I run a basic xml-unescape example?
Run `xml unescape "[<text>]"` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --help do in xml-unescape?
Display usage information.