xml-escape

Escape special XML characters, e.g. `<a1>` → `&lt;a1&gt;`.

TLDR

Escape special XML characters in a string

$ xml escape "[<a1>]"
copy

Escape special XML characters from stdin

$ echo "[<a1>]" | xml escape
copy

Display help for the escape subcommand

$ xml escape --help
copy

Copied to clipboard
Stream 500+ movies for free and without signup