Re: [Exim] How do you quote the \N sequence in strings?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Eli
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] How do you quote the \N sequence in strings?
On Thu, 8 Apr 2004, Eli wrote:

> I'm trying to wonder... If I have a string that contains \N in it, and I'm
> using it somewhere that I have wrapped with \N<text here>\N to prevent any
> expansion, how can I safely escape the \N within the text so that it doesn't
> get interpreted as the end of the beginning \N?


You have to escape from the "\N state", as has been already posted.

> For example, take this filter:
>
> mail to \Nemail@???\N subject \Nthis is a test\N text \Nthis is some
> text\Nand stuff\N


You need some quotes in there... and that makes things even messier...

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book