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 Wed Jan 12 10:38:51 UTC 2022 against commit 50d6f4550d6f45b79e200b3cbc8e8e2639854a5265c7021.

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