Thank you --- "exim -be" is what I needed! And thanks I need to learn terminology for exim better
btw +5 not +4 :) On 5/7/19, Jeremy Harris via Exim-users <[email protected]> wrote: > On 07/05/2019 20:50, Evgeniy Berdnikov via Exim-users wrote: >> On Tue, May 07, 2019 at 12:40:54PM -0700, Aki Kyo via Exim-users wrote: >>> I have a eval that gets one digit 0-9: >>> >>> ${eval:${substr{-2}{1}{$tod_zulu}}%10} >>> >>> I think to get 0-4 I could do this: >>> >>> ${eval:${substr{-2}{1}{$tod_zulu}}%5} >>> >>> Is there a way to get 5-9? It's working with strings, so I am not sure >>> if it will accept numeric operation. >>> Could is there simple place I can testing macro like this? >> >> exim4 -be '${eval:${substr{-2}{1}{$tod_zulu}}%5+4}' > > Also, this is a string-expansion, not a macro. A macro is > something else in Exim, so you'll need the right term when > searching for documentation. > -- > Cheers, > Jeremy > > -- > ## List details at https://lists.exim.org/mailman/listinfo/exim-users > ## Exim details at http://www.exim.org/ > ## Please use the Wiki with this list - http://wiki.exim.org/ > -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
