Re: [exim] String expansion: reversing a domain name?

Pàgina inicial
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
A: Marc Sherman
CC: 'Exim-users'
Assumpte: Re: [exim] String expansion: reversing a domain name?
On Wed, 16 Feb 2005, Marc Sherman wrote:
>
> Is it possible to reverse a domain name with Exim's string expansion
> operators?


Yes, but you have to use something like ${run

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}