On 16 Apr 2004, at 16d, 17:04, Timur Tabi wrote:
Ruud H.G. van Tol wrote:
Toen wij Timur Tabi kietelden, kwam er dit uit:
* ^Content-Type:.*charset=(\")?(${CHARSETS})
That needs an early $, see man procmailrc:
$ Evaluate the remainder of this condition according to
sh(1) substitution rules inside double quotes, skip
leading whitespace, then reparse it.
What exactly does that mean?
Well, it means that $VAR will be expanded with the contents of $VAR and
then the resulting command will be reparsed.
VAR="My Sample Text"
* B ?? $VAR
searches for "$VAR" in the body.
* $ B ?? $VAR
searches for "My Sample Text" in the body.
--
A vote for Nader is a vote for George Bush.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail