counting emails and pine questions

2002-12-29 Thread Ishai Parasol
Hi I'm looking for a way to know (using the command line) the number of emails that a /var/spool/mail/USERNAME file contains. Right now I'm using less /var/spool/mail/USERNAME | grep -c Subject: , but it's not accurate enough (cases of forwarded mails etc.). Any better ideas ? Another question.

RE: counting emails and pine questions

2002-12-29 Thread linux_il
. Cheers, --Amos -Original Message- From: Ishai Parasol [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 29, 2002 10:26 AM To: [EMAIL PROTECTED] Subject: counting emails and pine questions Hi I'm looking for a way to know (using the command line) the number of emails

Re: counting emails and pine questions

2002-12-29 Thread Muli Ben-Yehuda
On Sun, Dec 29, 2002 at 10:25:47AM +0200, Ishai Parasol wrote: I'm looking for a way to know (using the command line) the number of emails that a /var/spool/mail/USERNAME file contains. Right now I'm using less /var/spool/mail/USERNAME | grep -c Subject: , but it's not accurate enough (cases

Re: counting emails and pine questions

2002-12-29 Thread guy keren
On Sun, 29 Dec 2002, Ishai Parasol wrote: Another question. Is it possible to run pine with another user email file (/var/spool/mail/USER) ? for example, I'm logged as root and want to read USER2 emails (ofcourse, USER2 can't login, he's only a mail account and not a full user). If it's

Re: counting emails and pine questions

2002-12-29 Thread Tzafrir Cohen
On Sun, 29 Dec 2002, guy keren wrote: On Sun, 29 Dec 2002, Ishai Parasol wrote: Another question. Is it possible to run pine with another user email file (/var/spool/mail/USER) ?for example, I'm logged as root and want to read USER2 emails (ofcourse, USER2 can't login, he's only a mail

Re: counting emails and pine questions

2002-12-29 Thread Shaul Karl
On Sun, Dec 29, 2002 at 10:25:47AM +0200, Ishai Parasol wrote: Hi I'm looking for a way to know (using the command line) the number of emails that a /var/spool/mail/USERNAME file contains. Right now I'm using less /var/spool/mail/USERNAME | grep -c Subject: , but it's not accurate enough