Great Circle Associates Majordomo-Users
(July 1998)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: subscriber count
From: Jeffrey Goldberg <J . Goldberg @ Cranfield . ac . uk>
Organization: Cranfield University Computer Centre
Date: Fri, 24 Jul 1998 06:16:56 +0100 (BST)
To: Christopher Adams <chris @ sparkie . osl . state . or . us>
Cc: majordomo-users @ greatcircle . com
In-reply-to: <Pine.SUN.3.91.980723140718.6400A-100000@sparkie.osl.state.or.us>
Reply-to: Jeffrey Goldberg <J . Goldberg @ Cranfield . ac . uk>

On Thu, 23 Jul 1998, Christopher Adams wrote:

> Does anyone have a quick way to scan all lists and compute a total of 
> subscribers on each list and/or a total of all subscribers to all lists. 
> It sounds like a simple Perl script or such. Has anyone out there already 
> done this? 

Haven't tested this, but something like this in csh (or a csh-like shell) 

% wc -l `ls | grep -v '\.'`

run in the lists directory.

This will count the addresses in multiple lists multiple times, which may
not be what you want.  To avoid that you have to actaully do some parsing
of addresses to see if they are equivalant, for which perl would be the
right tool.

-j

--
Jeffrey Goldberg                +44 (0)1234 750 111 x 2826
 Cranfield Computer Centre      FAX         751 814
 J.Goldberg@Cranfield.ac.uk     http://WWW.Cranfield.ac.uk/public/cc/cc047/
Relativism is the triumph of authority over truth, convention over justice.



Follow-Ups:
References:
Indexed By Date Previous: authentication system and noadvertise
From: Omar Antar <oantar@aecom.yu.edu>
Next: Re: Need help - Footers not appearing
From: Ray Jones <rayjones@praline.no.neosoft.com>
Indexed By Thread Previous: Re: subscriber count
From: Jeff Wasilko <jeffw@smoe.org>
Next: Re: subscriber count
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>

Google
 
Search Internet Search www.greatcircle.com