Autor: John Jetmore Data: Para: Sven Geggus CC: exim-users Assunto: Re: [Exim] String expansion depending on existance of variable?
${if def:variable {foo}{bar}} should do what you're asking.
On Fri, 9 May 2003, Sven Geggus wrote:
> Hi there,
>
> it is possible to expand variables based on the existance of files like
> this:
>
> ${if exists{myfile} {foo}{bar}}
>
> Is it possible to do the same with variables?
>
> Sven
>
> --
> "The term "any key" does not refer to a particular key on the keyboard. It
> simply means to strike any one of the keys on your keyboard or handheld
> screen." (Compaq FAQ Entry 2859)
> /me is giggls@ircnet, http://sven.gegg.us/ on the Web
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>
>