[exim-dev] [Bug 3024] string expansion error in function red…

Góra strony
Delete this message
Reply to this message
Autor: Exim Bugzilla
Data:  
Dla: exim-dev
Temat: [exim-dev] [Bug 3024] string expansion error in function reduce combined with inlisti function
https://bugs.exim.org/show_bug.cgi?id=3024

--- Comment #9 from Jeremy Harris <jgh146exb@???> ---
The original expansion can be more neatly expressed as:

${reduce {<\n 1.1.1.1\n2.2.2.2\n3.3.3.3\n4.4.4.4\n4.4.4.4\n}{}{$value${if
inlisti{$item}{<\n $value}{}{$item\n}}}}

which avoids the issue.

--
You are receiving this mail because:
You are on the CC list for the bug.

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/