in message
<20021128154331(_dot_)WHATTHEFUCK(_dot_)A28286(_at_)maxwerner(_dot_)dyndns(_dot_)org>,
wrote Max J. Werner thusly...
You can now filter by date.
...
The Script: http://maxwerner.dyndns.org/downloads/mailstat
when i did...
# mailstat -s ../log/mail/procmail.log.old
Argument "log" isn't numeric in subtraction (-) at mailstat line 124.
Argument ".." isn't numeric in subtraction (-) at mailstat line 124.
Argument "mail/procmail.log.old" isn't numeric in subroutine entry at
mailstat line 124.
# mailstat -e ../log/mail/procmail.log.old
Argument "log" isn't numeric in subtraction (-) at mailstat line 134.
Argument ".." isn't numeric in subtraction (-) at mailstat line 134.
Argument "mail/procmail.log.old" isn't numeric in subroutine entry at
mailstat line 134.
...why? because an actual date is missing in some format? but that
doesn't show up in "mailstat -h"...
Usage: mailstat [OPTION]... [LOGFILE]
Analyze a procmail-generated $LOGFILE and display
a summary about the messages delivered to all folders.
-t terse display format
-s date filtering: this is the start date
-e date filtering: this is the end date
-h print this help
...only that "-s" is "start date" & "-e" "end date". well, if an
argument is expected w/ an option, program should abort if no such
argument is given, unlike above. adding features to software
doesn't come cheap!
(i would have sent this to max privately, but he had set followup to
procmail list only. so be it.)
- parv
--
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail