procmail
[Top] [All Lists]

Re: [pro] how to strip down a subject line

2008-11-20 15:57:44
On Thu, 20 Nov 2008, TLD Procmail wrote:
STRIPCMD="/usr/local/bin/subject.stripper.pl '${SUBJECT}'"

I believe, as per shell rules, those single quotes *protect* the variable
from being substituted. Try omitting the quotes. Or execute it directly
with the parameter in double-quotes:

SUBJECT2=`/usr/local/bin/subject.stripper.pl "${SUBJECT}"`

- Charles

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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