procmail
[Top] [All Lists]

Re: Counting messages in a mailbox

1996-12-08 04:30:37
Responding To:  Stan Ryckman <stanr(_at_)sunspot(_dot_)tiac(_dot_)net>
Original Date:  Sat, 7 Dec 1996 18:50:05 -0500 (EST)
Message-ID:     <199612072350(_dot_)SAA17775(_at_)sunspot(_dot_)tiac(_dot_)net>

egrep -i '^From ' mailbox | wc -l

why doesn't this work?  There can be only one "^From " line per  
message right?  And there has to be one for each message, doesn't  
there?

I use this myself for some non-critical things, so I am curious why  
this would fail

TjL

--
                Tj Luoma (luomat(_at_)peak(_dot_)org)
                http://www.next.peak.org/~luomat

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