esccli
Escapes an array so output is valid shell code
esccli
takes an array and escapes any characters that
might cause problems when pasted back into the terminal. Typically you’d
want to use this against command parameters.
<stdin> -> esccli -> <stdout>
esccli @array -> <stdout>
» alias foobar=out 'foo$b@r'
» alias -> [foobar]
[
"out",
"foo$b@r"
]
» alias -> [foobar] -> esccli
out foo\$b\@r
» alias -> [foobar] -> set fb
» $fb
["out","foo$b@r"]
» esccli @fb
out foo\$b\@r
esccli
alias
: Create an alias for a commandeschtml
: Encode or decodes text for HTMLescurl
:
Encode or decodes text for the URL[ Index ]
: Outputs an element from an array, map or
tableout
: Print a string to the stdout with a trailing new
line characterescape
: Escape or unescape inputThis document was generated from builtins/core/escape/escape_doc.yaml.
This site's content is rebuilt automatically from murex's source code after each merge to the master
branch. Downloadable murex binaries are also built with the website.
Last built on Sat Aug 23 22:28:13 UTC 2025 against commit ad23f13ad23f131bfecd82ea8a12d9b3e92aab5d8398ae9.
Current version is 7.0.2129 (website) which has been verified against tests cases.