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>
As a method
» alias foobar=out 'foo$b@r'
» alias -> [foobar]
[
"out",
"foo$b@r"
]
» alias -> [foobar] -> esccli
out foo\$b\@r
As a function
» alias -> [foobar] -> set: fb
» $fb
["out","foo$b@r"]
» esccli: @fb
out foo\$b\@r
[
(index): Outputs an element from an array, map or tablealias
: Create an alias for a commandescape
: Escape or unescape inputeschtml
: Encode or decodes text for HTMLescurl
: Encode or decodes text for the URLout
: Print a string to the STDOUT with a trailing new line characterThis 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 Thu May 26 22:49:43 UTC 2022 against commit 59e27bb59e27bb1013043fc4a940cf9a2767c63f31dad2c.
Current version is 2.8.2100 which has been verified against 15889 tests cases.