Spam sorting (was Re: Install assistance needed in Berkeley area)
Nate Campi
nate@campin.net
Sun, 11 Jan 2004 13:21:04 -0800
On Sun, Jan 11, 2004 at 12:22:10PM -0800, Tony Godshall wrote:
>
> Say, any quick way to count the number of messages in a mbox file?
> Is "grep -c '^From' file" sufficient?
You'd need to make sure there's a space after From, since your LDA
wouldn't escape a line starting with "Fromage", when your grep will
count it.
--
Nate
"Windows 95 /n./ 32 bit extensions and a graphical shell for a 16 bit
patch to an 8 bit operating system originally coded for a 4 bit
microprocessor, written by a 2 bit company that can't stand 1 bit of
competition."