Louis-David Mitterrand asked:
> I'd like to convert these dots to dashes (eg:
> users-lists-freeswan-org) preferably without using sed.
You could use a recursive SWITCHRC within procmail and not call any
outside programs at all, but it's a pain to write, and it's probably no
more efficient than simply running tr (well, a shell and tr) as Ian
suggested.
:0i
* FOLDER ?? [.]
FOLDER=| echo $FOLDER | tr . -
If variable capture recipes bomb on your system, here's a workaround:
:0
* FOLDER ?? [.]
{ FOLDER=`echo $FOLDER | tr . -` }
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail