Re: [dwm] irssi/mutt in status bar

From: Jeroen Schot <schot-dwm_AT_a-eskwadraat.nl>
Date: Fri, 12 Jan 2007 14:04:32 +0100

On Fri, Jan 12, 2007 at 01:32:05PM +0100, Michael Muster wrote:
> On Wed, Jan 10, 2007 at 10:15:52PM +0100, Alessandro Dotti Contra wrote:
> > On Wed, Jan 10, 2007 at 11:23:52AM +0000, Tener Hades wrote:
> > |
> > |For mutt, I count the "Message-ID:" headers in my spoolfile ($MAIL).
> > |Thus:
> > | echo `grep "^Message-ID:" $MAIL | wc -l`
> >
> > echo `grep "^From " $MAIL | wc -l
> >
> > Should give a better result, since every mail should have an envelope
> > from header (From .....).
>
> I have done it this way:
> Inb: `grep "^From: " /home/michael/mail/inbox/new/* | wc -l` dwm:`grep
> "^From: " /home/michael/mail/dwm/new/* | wc -l` dug:`grep "^From: "
> /home/michael/mail/debian-user-german/new/* | wc -l`
>
> this works for me with my Maildir-directory,
> Thank all for your help...

Since in Maildir every mail is a message, wouldn't
`ls /home/michael/mail/inbox/new/|wc -l` do the same thing?

Regards,

-- 
Jeroen Schot
schot_AT_a-eskwadraat.nl (mail & jabber)
http://schot.a-eskwadraat.nl
Received on Fri Jan 12 2007 - 14:04:34 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:34:39 UTC