>
>>> 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
>
Ah, of course. It didn't occur to me just now that <nothing>+1 is a
valid expression as long as the value 1 may also be expressed as "+1".
Thanks.
- Toralf
--
## 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/