Re: [Exim] Exim 4.04: ${sg ...} in command

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Dave C.
CC: Marc MERLIN, exim-users
Subject: Re: [Exim] Exim 4.04: ${sg ...} in command
On Sun, 26 May 2002, Dave C. wrote:

> > Your first search-replace modifies tha $local_part variable (unfortunately)
> > so that when you work with it again, its value is already "subscribe"
> > You can verify this by replacing
> > ${sg{$local_part}{^.*-}{}}
> > with just $local_part
>
>
> Yikes! that seems counter intuituve - I wouldnt expect sg to actualy
> modify its input, only take the input and give its result.


Correct. It doesn't modify its input.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.