Sat, 10 Nov 2001 13:50:27 +0530 Hi,
On Fri, 09 Nov 2001 Rob <[EMAIL PROTECTED]> spoke thusly: [-- snip --] > I'm pretty sure I don't know that many people. You need to implement > some way of not counting the same guy twice. I'd be willing to bet that > the 161 Web clients is one person (my best friend, he uses a webmail thing). That's not the only flaw - currently it looks through all the files in ~/Email, including =sent-mail, and =mutt-users, which will naturally be _extremely_ biased. So, one could just do something like so: FILES=$(find $HOME/Email -type f -maxdepth 1 ! -name sent-mail ! -name mutt-users ) then, make it grep only through $FILES, and not '*'. But, as far as the problem you mentioned goes - checking for the Sender/X-Sender fields (possibly piping it through sort and uniq to remove duplicates), and then grepping through it would be, to say the least, tedious (at least in bash). It would probably make more sense in perl or something, but I don't know perl, so I'll leave it to someone else :-) > > It's a good start, though! ;) Thanks ! pv. -- Prahlad Vaidyanathan <[EMAIL PROTECTED]> What, me worry ? http://www.symonds.net/~prahladv/ Don't Panic ! --