Mike Cardwell wrote:
>> What do I get if I do something like
>>
>> ${eval:$some_variable+1}
>>
>> when "some_variable" is not actually defined?
>
> Looks like it treats some_variable as 0:
>
> [EMAIL PROTECTED]:~# /usr/sbin/exim -be
> > ${eval:$acl_m9+1}
> 1
> >
Hmmm. More accurately, it expands to the empty string so your eval becomes:
${eval:+1}
Which evaluates to 1
[EMAIL PROTECTED]:~# /usr/sbin/exim -be
> ${eval:$acl_m9+1}
1
> ${eval:1+$acl_m9}
Failed: error in expression evaluation: expecting number or opening
parenthesis (after processing "1+")
>
Mike
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/