[svlug] Counting email

Emmanuel-Robert Mayssat emayssat at valinux.com
Tue May 9 14:58:06 PDT 2000


Maybe you can try :

msh filename <<EOC
EOC

The result should be accurate but execution time may not be optimal.

--
Emmanuel

+--------------------------------------------------------------------+
| Date: Wed, 03 May 2000 18:57:07 -0000
| From:  Drew Bertola <drew at drewb.com>
+--------------------------------------------------------------------+

 Can anyone tell me the preferred method for counting the exact number
 of messages in /var/spool/mail/$USER ?  I've been been using
 
 grep "^FROM " | wc -l 
 
 but it shows some minor inaccuracies.
 
 D->|
 
 
 _______________________________________________
 svlug mailing list
 svlug at lists.svlug.org
 http://lists.svlug.org/mailman/listinfo/svlug
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| Robert-Emmanuel Mayssat                      @ VA Linux, Inc       |
| https//vaweb.valinux.com/~emayssat           Desk # : 408/542-8759 |
+--------------------------------------------------------------------+         
       






More information about the svlug mailing list