On Sat, Nov 10, 2001 at 01:56:28PM +0530, Prahlad Vaidyanathan (dis)graced my inbox with: > > 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.
Well, there's no need to go through sent-mail, because that's just me, and I know what I use. I would still like it to go through mutt-users, because those are still valid emails that were sent to me. Other lists can be biased too, and we don't want to have to discriminate against all subject-specific mailing lists ;) > 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 '*'. Yep. > 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). Yeah, I wouldn't know where to start with a bash script, especially with mbox style folders (I could grep through to find how many unique people emailed me easily enough, but how would I link each person to a mua?) > It would probably make more sense in perl or something, but > I don't know perl, so I'll leave it to someone else :-) Well, I just bought a book on perl, perhaps I could learn how to do this ;) Not right away though, I've got a busy weekend ahead of me. -- Rob 'Feztaa' Park [EMAIL PROTECTED] -- C:\WINDOWS C:\WINDOWS\GO C:\PC\CRAWL