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 Thu Oct 13 08:08:18 UTC 2022 against commit ed6b6fced6b6fc609f4be93c5d3348695a762facfecf48f.

Current version is 2.11.2200 which has been verified against 16798 tests cases.