procmail
[Top] [All Lists]

Re: "Atomic" updates to the LOGFILE...

2002-07-26 13:11:50
Michael J Wise wrote:

Why not just write out everything at the end from the TRAP?

This is my current TRAP line (suitably edited for public consumption).
Seems to work like what I want.

        TRAP='echo "$FROMLINE$SUBJECTLINE$FOLDERTEXT$LASTFOLDER$BLANKLINE"'

FOLDERTEXT is just "Folder: ". The rest should be 'Obvious'.

The actual definition of the variables is left as an exercise, but makes
lotsa use of ()\/, and $MATCH. Plus a buncha other stuffs.

To those dealing with similar problems... "Share And Enjoy![tm]"

Aloha mai Nai`a!
-- 
"Please have your Internet License             http://kapu.net/~mjwise/
  and Usenet Registration handy..."

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