[exim] Re: Best way to split multiline string

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-users
Temat: [exim] Re: Best way to split multiline string
On 12/10/2024 20:36, Ian Z via Exim-users wrote:
> The program outputs multiple lines, only the first
> is relevant to me. What is the least painful way to extract it?


Probably a ${sg } (assuming you don't have to handle *escaped*
newlines)
--
Cheers,
Jeremy


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