procmail
[Top] [All Lists]

Re: newbie question re: huge procmail log file

2002-02-18 17:36:13
I blew it:

 garbage=`rm -f procmaillog-`date -d '4 months ago' +"%Y%m"`

Jacques noticed:

| I count three backticks here?

Oops.  Vous avez raison, Jacques.  Thank you.  Since procmail can't nest
command substitutions, that wouldn't work.  Jacques's correction would:

| olddate=`date -d '4 months ago' +%Y%m`
| garbage=`rm -f procmaillog-$olddate`

or

 :0ic
 garbage=| rm -f procmaillog-`date -d '4 months ago' +"%Y%m"`


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