Udi answered Martin,
| Do not go so far, tr '.' '/' will do the job.
No, tr won't do the job of reversing the order of the elements. It will
change machine.site.domain to machine/site/domain but not to
domain/site/machine. Sed or perl, though, can do the transposing, as several
of us have already illustrated. A recursive rcfile could as well, but I like
to avoid those, since they can be a pain to maintain (though I was probably
the first person to post one to this list back around 1994).
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail