gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-util] 01/02: Document nested var substitution


From: gnunet
Subject: [taler-taler-util] 01/02: Document nested var substitution
Date: Tue, 22 Feb 2022 13:33:31 +0100

This is an automated email from the git hooks/post-receive script.

ttn pushed a commit to branch master
in repository taler-util.

commit eb1bedb6a2384e1872dcca69c8a9492a72fe375b
Author: Thien-Thi Nguyen <ttn@gnu.org>
AuthorDate: Tue Feb 22 07:31:11 2022 -0500

    Document nested var substitution
    
    * doc/doc.org (class =TalerConfig=, value types):
      Document that the second type of var substitution can nest.
---
 doc/doc.org | 5 ++---
 1 file 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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]