mhonarc-users

Re: How many messages in that spool?

2004-06-13 21:52:22
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

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