[exim] Re: Reduce & inlist

2024-02-28 Thread Ian Z via Exim-users
On Wed, Feb 28, 2024 at 05:30:35PM +, Slavko via Exim-users wrote: > Please, is here better way to remove duplicates than use regex > in condition? I have no real solution, but as tricky as it seems to be, I think a new built-in expansion operator to uniquify a list would be a good thing. If

[exim] Reduce & inlist

2024-02-28 Thread Slavko via Exim-users
Hi all, i found in ML archives recipe how to remove duplicates from list, i tried it in that form in file used -be input: APPEND_ITEM = ${if def:value {$value,$item}{$item}} INLIST = inlist{$item}{<,$value} ${reduce{<, item1, item2, item1}\ {}\ {${if INLIS