procmail
[Top] [All Lists]

Re: Replacing characters in $MATCH, and folders with periods - SOLVED

2004-04-10 07:49:21
Toen wij David W. Tamkin kietelden, kwam er dit uit:
Ruud:

Did you put the "SHELL = /bin/sh" in the top
of your .procmailrc?

It is in every other procmail-faq and might
have saved you from trying snr at all. :-)

But since there will rarely be even three and never four periods in the
string, Timur is probably better off if procmail handles it with snr
than if it invokes a shell and tr for even one period.

I felt a weeny-bit guilty that Timur might have spent time
on snr that was not considerable ... as an investment.


It still would interfere, so OK then: underscores are not good either.
Colons may not be so great, in case a Windows-ish system has to read the
filenames later.  Maybe commas are the best idea.

How about @ (or ! (bang) or $, even though they cause havoc on the
command-line).

-- 
Grtz, Ruud


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>