diff options
Diffstat (limited to 'doc/doc.org')
-rw-r--r-- | doc/doc.org | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/doc.org b/doc/doc.org index 8522ead..07237fd 100644 --- a/doc/doc.org +++ b/doc/doc.org @@ -402,9 +402,8 @@ These mimic shell-style variable expansion. In all these constructs, the value of =X= replaces the construct. In the second one only, if the value of =X= is empty, use the value of =Y= instead. - -FIXME: Can the second type be nested (i.e., =${X:-${Y:-Z}}=)? -=> Yes. +Also, the second type can be nested, i.e., =${X:-${Y:-Z}}=. +That is, if =X= is empty, try =Y=, and if =Y= is empty, try =Z=. For example, =${TMPDIR:-/tmp}/taler-test= expands to =/var/tmp/taler-test= if environment variable =TMPDIR= has value =/var/tmp=, otherwise |