procmail
[Top] [All Lists]

Re: COUNT

2001-07-25 13:26:15
| Here is a final working verison of COUNT.  There was one error that mean
| that COUNT was reset to 0 after it reached 100.  The W was missing on the
| line
|
|  :0ciW # whenever the count is a multiple of 100, zap the accumulated

Ah, glad you solved that, Kalvis.  I missed that; it's so very rare that `W'
or `w' is used for reasons other than getting the exit code of the command
(and from rm -f, it's sure to be 0), so I didn't think of that.  Yes, you
wouldn't want to log the new value of $COUNT first and then rm it!



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

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