On Sep 5, 2007, at 5:10 AM, BG Mahesh wrote: > We have several mailing lists running on our list server. I am > looking for a > script that will extract the number of active users in each list. > Is there > such a utility?
Here is a simple bash script to accomplish it: (snip) #!/bin/bash for i in $* do echo "$i has `./list_members $i | wc -l` members" done (snip) When you run the script, you get this output: [EMAIL PROTECTED] bin]# ./count_users.sh Td_classes Yoga Td_classes has 21 members Yoga has 169 members Chris > > -- > -- > B.G. Mahesh ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp