Great Circle Associates Majordomo-Users
(November 1996)
 

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

Subject: member count for 1.93
From: "Dennis Black" <Dennis . Black @ UAlberta . CA>
Date: 13 Nov 1996 12:02:10 -0600
To: "Majordomo Users" <majordomo-users @ greatcircle . com>

REGARDING                member count for 1.93

Some of the listowners at my site had asked me to find a way to print
out the number of members in their lists. (Some are well over 100.)
I haven't d/l'ed 1.94 yet, so I don't know if it's already included, but for
those still on 1.93 like me, you just need to add two lines, as indicated:

vi'ing "majordomo" at the "do_who" subroutine, don't enter the
square-bracketed comments.

        #open it up and tell who's on it
        print REPLY "Members of list '$clean_list':\n\n";
        if (&lopen(LIST, "", "$listdir/$clean_list")) {
            while (<LIST>) {
              print REPLY $_;
              $lncnt++;                                                      
        [new line]
            }
            print REPLY "\n $lncnt members in this list.\n";     [new line]
            &lclose(LIST);
            &log("who $clean_list");
        } else {


Indexed By Date Previous: Re: Preventing spam via *-outgoing alias?
From: Matthew Seidl <seidl@vex.cs.colorado.edu>
Next: Re: Preventing spam via *-outgoing alias?
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Indexed By Thread Previous: Re: Preventing spam via *-outgoing alias?
From: Dave Barr <barr@math.psu.edu>
Next: Re: member count for 1.93
From: chris <chris@sparkie.osl.state.or.us>

Google
 
Search Internet Search www.greatcircle.com