Hi.  What does ${...} mean again?  And what's the difference to $(...)
which I know is used to unambiguously refer to scalar variables and to
do magical implicit 'foreach' style loops on arrays.

For example, I see it in the following unit examples/tests:

[cfengine00  cfengine]# grep '${' *
unit_chdir.cf:chdir => "${dir}";
unit_epimenides.cf:  "head" string => "Swallow my ${tail}";
unit_epimenides.cf:  "tail" string => "behind my ${head}";
unit_multipassvars.cf:        "tempdir: ${tempdir}";
[cfengine00  cfengine]#

I don't see any mention of ${ in the reference manual.

Thanks,
Aleksey
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to