Re: [Mailman-Users] Amount of messages in a .mbox file

2002-09-20 Thread Barry A. Warsaw
> "DT" == Danny Terweij <[EMAIL PROTECTED]> writes: DT> I have a .mbox file of 890Mb in size. I want to know how many DT> messages are in it and how much messages per month. Take a look at bin/cleanarch in the MM2.1 source. It does more than you're asking for here, but should provi

Re: [Mailman-Users] Amount of messages in a .mbox file

2002-09-19 Thread Danny Terweij
Thanx you all for the responses. Now i have something to think about and work it out. Danny Terweij. -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-

Re: [Mailman-Users] Amount of messages in a .mbox file

2002-09-18 Thread Jon Carnes
Just to be on the safe side I use: grep -c ^"From " .mbox To separate them by Month use something like: grep ^"From " .mbox |grep -c " Mar " The months are: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec. Good Luck Jon Carnes On Wed, 2002-09-18 at 19:30, Moz wrote: > Danny wro

Re: [Mailman-Users] Amount of messages in a .mbox file

2002-09-18 Thread Moz
Danny wrote: > I have a .mbox file of 890Mb in size. I want to know how many >messages are in it and how much messages per month. Can someone help >me to write a shell script? Each message starts with a line like "From [EMAIL PROTECTED]", so you can just count those. Divide by months in file to

[Mailman-Users] Amount of messages in a .mbox file

2002-09-18 Thread Danny Terweij
Hi guys, I have a .mbox file of 890Mb in size. I want to know how many messages are in it and how much messages per month. Can someone help me to write a shell script? Thanx! Danny Terweij (Mm2.1b2 user) -- Mailman-Users mailing list [EM