Hiya,
I would like to date time stamp ammendments to a file.
The problem is getting the time stamp into the variable DATE.
As the logfile shows, `date' is executed, and then ? goes looking for
some sort of file etc.
Thanks in advance for your thoughts.
Shane
DATE=`date +%y%m%d%H%M`
:0H:
*^FROM:.*857
| echo "857 $DATE >> /home/857.txt
Logfile
procmail: Executing "date,+%y%m%d%H%M"
date: date: No such file or directory
procmail: Assigning "DATE="
Output file 857.txt
857 etc but no date time stamp
____________________________________________________________
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