On Fri, Nov 07, 2003 at 09:08:14AM -0600, David W. Tamkin wrote:
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 . -
Thank you David and others who suggested a solution. I suspected
avoiding sed or tr for that task would entail too much complexity but I
wanted to make sure I didn't miss anything.
Cheers,
--
Black holes are where God divided by zero.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail