[Mailman-Users] Output to file all lists and associated member addresses

Patrick Bogen pdbogen at gmail.com
Wed Sep 20 17:14:29 CEST 2006

On 9/20/06, Bill Landry <billl at inetmsg.com> wrote:
> Thanks Patrick!  This worked perfectly:
> for i in `bin/list_lists -b`; do echo $i >> master-list.txt;
> bin/list_members $i >> master-list.txt; echo >> master-list.txt; done

You could also do:

{ for i in `bin/list_lists -b`;do echo $i; bin/list_members $i; echo;
done; } >> master-list.txt

which is a bit more concise.

- Patrick Bogen

More information about the Mailman-Users mailing list