On 02/10/2009 10:20:51 AM, Brian Canty wrote:
I was wondering if anyone knows of any command you can use to find out who is subscribed to all mailman lists.
list_lists | tail -n +2 | awk '{print $1;}' | xargs -n 1 list_members | sort -u Gets you all the members of all the lists. list_lists \ | tail -n +2 \ | awk '{print $1;}' \ | xargs -n 1 bash -c 'list_members $0 | xargs -n 1 echo $0:' \ | grep f...@example.com \ | cut -d f 1 Gets you all the lists that f...@example.com is subscribed to. Karl <k...@meme.com> Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 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://wiki.list.org/x/QIA9