I would buy that. We could make use of '' for no interpolation and "" for with interpolation.
On Fri, 2005-04-22 at 11:20 -0700, Wil Cooley wrote:
> On Fri, 2005-04-22 at 13:46 -0400, Christian Pearce wrote:
> > $(expr) and ${word} is valid shell how do you differentiate?
> >
> > bash-2.05b$ test=$(echo test)
> > bash-2.05b$ echo $test
> > test
> > bash-2.05b$ test=${test}
> > bash-2.05b$ echo $test
> > test
> > bash-2.05b$ test=${test1}
> > bash-2.05b$ echo $test
>
> The same way Make does, by requiring you escape shell variables in
> strings--it would remove the ambiguity and permit more useful error
> messages and syntax checking.
>
> Wil
> _______________________________________________
> Help-cfengine mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/help-cfengine
--
Christian Pearce
http://www.sysnav.com
http://www.commnav.com
http://www.perfectorder.com
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Help-cfengine mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-cfengine
