Toen wij Scott Wiersdorf kietelden, kwam er dit uit:
Ruud H.G. van Tol:
Scott Wiersdorf:
The directories already exist... 3469a-z
Ok. That's good.
Better do something like this first:
Charswap = ":Aa:Bb:Cc:..:Yy:Zz:00:11:..:99"
:0
* FOLDER ?? ^\/.
*$ Charswap ?? :$\MATCH\/.
BTS/$MATCH/$FOLDER/
A pure-procmail 'tr' replacement... Very nice.
AFAIK, David Tamkin published it first, long ago.
If you define Convert like this:
Convert = "
Aalpha
Bbeta
Ccabbala
..
Xxi
Yypsilon
Zzeta
0zero
1one
..
9nine"
you can use
*$ Convert ?? ^$\MATCH\/.*
to do a 1:n conversion.
--
Grtz, Ruud
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail