I am trying to write a script which will email me a list of all the 
lists and their members.  I was able to find the following below but 
keep getting errors when I try and execute it.   I have made the file 
executable.

   for i in `/usr/local/mailman/bin/list_lists -b`;
   do
     j=`/usr/local/mailman/bin/list_members $i |wc -l`
     echo "list $i has $j members"
   done


Jewel

------------------------------------------------------
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

Reply via email to