At 17:03 2006-04-05 -0400, fleet(_at_)teachout(_dot_)org wrote:
The action pipe I'm using is: /bin/echo -e $CURTIME : foreign charset :
$MATCH >> /home/fleet/updates/spam.log
MATCH in this case contains "[asterisk] Some Stupid Title [asterisk]".
Asterisk is, of course, the asterisk symbol.
I'm betting it's not actually in quotes, but you're using them here to
delineate the content from the rest of your statement.
Apparently the asterisk, in this case, was interpreted as a request for a
directory listing. Is there something I can do to MATCH (or anything
else) to prevent this from happening?
Place it in quotes. Compare the output of the following for example:
echo *
echo "*"
"things" that COULD cause harm when "echoed" in this manner?
like a pipe and something else? You betcha.
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
____________________________________________________________
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