Viktor Dukhovni:
> On Tue, Jul 17, 2012 at 02:49:10PM -0400, Simon Brereton wrote:
> 
> > Hi
> > 
> > A quick question..
> > 
> > Does Postfix do the variable substitutions after reading the entire file?
> > 
> > If I set b=thing1, a=$b, then b=thing2, does the "a" setting become
> > thing1 or thing2??

As documented "When the same parameter is defined multiple times,
only the last instance is remembered.".

        Wietse

> Lazy evaluation. Thus "thing2". There are some additional complications
> since some variables acquire their default values after others are fully
> expanded. Typically this is not an issue.
> 
> -- 
>       Viktor.
> 

Reply via email to