[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How many messages in that spool?



On Mon, 2004-06-14 at 00:16, Christopher P. Lindsey wrote:

>       grep -i ^Message-ID: mbox | awk -F\< '{print $2}' | awk -F\> '{print $1}' | sort | uniq -c | sort -n
> 
>    or 
>    
>       formail -s formail -XMessage-ID < mbox | sort | uniq -c | sort -n

Ah....I  knew there had to be some shell wizardry that would sort that
out. Yeah, I had dupes in there.

Thanks for those great recipes!

-- 
Bob Bernstein


[Index of Archives]     [Bugtraq]     [Yosemite News]     [Mhonarc Home]