[Mailman-Users] User Commands

Karl O. Pinc kop at meme.com
Wed Feb 11 15:41:52 CET 2009


On 02/10/2009 02:07:23 PM, Karl O. Pinc wrote:
> 
> 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.

Somehow the "cut" command got mangled.  Should be:

  list_lists \
   | tail -n +2 \
   | awk '{print $1;}' \
   | xargs -n 1 bash -c 'list_members $0 | xargs -n 1 echo $0:' \
   | grep foo at example.com \
   | cut -d : -f 1

> Gets you all the lists that foo at example.com is subscribed to.


Karl <kop at meme.com>
Free Software:  "You don't pay back, you pay forward."
                  -- Robert A. Heinlein


More information about the Mailman-Users mailing list