Tilde (~) Token - Parser Reference

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 Fri May 19 22:45:48 UTC 2023 against commit 54b5f6754b5f67b250bbf7353e83c42ed187802584c3ae3.

Current version is 4.1.6140 which has been verified against 14045 tests cases.