1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 12:35:22 +02:00
tldr/pages.ko/common/xml-unescape.md

17 lines
459 B
Markdown
Raw Normal View History

2024-11-02 02:54:37 +09:00
# xml unescape
> 특수 XML 문자를 원래대로 변환, 예: `&lt;a1&gt;` → `<a1>`.
> 더 많은 정보: <https://xmlstar.sourceforge.net/doc/UG/xmlstarlet-ug.html#idm47077139540960>.
2024-11-02 02:54:37 +09:00
- 문자열에서 특수 XML 문자를 원래대로 변환:
`xml {{[unesc|unescape]}} "{{&lt;a1&gt;}}"`
2024-11-02 02:54:37 +09:00
- `stdin`에서 특수 XML 문자를 원래대로 변환:
`echo "{{&lt;a1&gt;}}" | xml {{[unesc|unescape]}}`
2024-11-02 02:54:37 +09:00
- 도움말 표시:
`xml {{[esc|escape]}} --help`