~
Home SigilHome directory path variable
The tilde token is used as a lazy reference to the users home directory.
Assuming current username is “bob”:
» out ~
/home/bob
Assuming “joe” is a valid user on local system:
» out ~joe
/home/joe
If username does not exist, ~
will default to the root path.
Assuming “foobar” isn’t a valid local user:
» out ~foobar
/
Tilde can be expanded inside double quotes, brace quotes as well as used naked. But it cannot be expanded inside single quotes.
» out ~
/home/bob
» out '~'
~
» out "~"
/home/bob
» out %(~)
/home/bob
"Double Quote"
: Initiates or terminates a string (variables expanded)%(Brace Quote)
: Initiates or terminates a string (variables expanded)'Single Quote'
: Initiates or terminates a string (variables not expanded)(brace quote)
: Write a string to the stdout without new line (deprecated)@Array
Sigil: Expand values as an arrayja
(mkarray): A sophisticated yet simply way to build a JSON arrayout
: Print a string to the stdout with a trailing new line characterset
: Define a local variable and set it’s valuestring
(stringing): string (primitive)This document was generated from gen/parser/variables_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 Thu Aug 15 14:38:34 UTC 2024 against commit 50ed9d650ed9d6df391240d3c2c02e623636e508dfcdad1.
Current version is 6.2.4000 which has been verified against tests cases.