murex Shell Docs

Parser Reference: Tilde (~) Token

Home directory path variable

Description

The tilde token is used as a lazy reference to the users home directory.

Examples

» out: ~
/home/bob

» out: ~joe
/home/joe

Detail

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

See Also

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 Tue Jun 22 08:18:17 UTC 2021 against commit 2235c7b2235c7b18f86f1cf214e246b88b0ea193d87fe80.

Current version is 2.2.1100 BETA which has been verified against tests.