On 13 December 2010 07:48, Diego Zamboni <di...@zzamboni.org> wrote:

> Both $(...) and ${...} can be used to refer to scalar
> variables, and to do implicit looping.
>

And since I use bash a lot to create my scripts, I really like to use
${myvar} for variables - then I can use the same syntax both in bash and
cfengine. Using $(...) in bash gives a completely different effect...
Cfengine supports both variants, even though all the documentation and
examples seem to standardize on $(myvar) variant.

-E
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to