Re: [exim] quoting/escaping in map lists

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: WJCarpenter
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] quoting/escaping in map lists

> WJCarpenter wrote:
>
>> ${map{a:b:c:d:e}{[$item]}}
>>
>> I'd like to construct a list where one of the items in the list is the
>> 3-character string "b:c". Is there a way to do it? I've tried
>> various things like ${quote:b:c}, etc, with no joy.
>>
>
> Something like ${sg{foo}{:}{::}} ?
>
> cf. http://exim.org/exim-html-4.67/doc/html/spec_html/index.html#toc0075
>


Thanks. That worked pretty well. The doubled colon does show up in the
map'd output, but I reckon I can deal with that.

${map{a:b::c:d:e}{[$item]}} ==> [a]:[b::c]:[d]:[e]