Eyesnose
From Gentoo Linux Wiki
Please format this article according to the guidelines and Wikification suggestions, then remove this notice {{Wikify}} from the article
[edit] The eyesnose operator
[edit] runscript
The eyesnose operator is used in initialization scripts using the runscript shell. It returns the first operand if it is not null, otherwise it returns the second operand.
[edit] Example
In the following example, $a will be set to the value of $b, unless $b is null. If $b is null, $a will take a value of "Zippy".
$a = "${b:-Zippy}"
