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
Jeffrey Goldberg +44 (0)1234 750 111 x 2826
Cranfield Computer Centre FAX 751 814
Relativism is the triumph of authority over truth, convention over justice.