Thanks, Mark - all this works just fine. I have all the lists cleaned up and the remaining migrations should have one less problem!

I made an incorrect statement in my original message: I have been using config_list all along to add the owners, not newlist. It had been a while since I last looked at that detail. The critical bit that I got from your response was needing single quotes on either side of the commas separating the list owner addresses.

At 11:23 AM 4/7/2009, you wrote:
Mark Sapiro wrote:
>
>Or, perhaps you could do something like
>
>#!/bin/sh
>file=mktemp
>for list in `~mailman/bin/list_lists --bare`; do
>  ~mailman/bin/config_list -o - $list | \
>    grep "^owner " | \
>    sed -r "s/([^']),/\1', '/g" > $file
>  ~mailman/bin/config_list -i $file


The above line should be

  ~mailman/bin/config_list -i $file $list


>done
>rm $mktemp


And the above should be

rm $file

(the actual grep and sed was tested, but the entire script obviously
wasn't)

--
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

----------------------------------------------------------------------
Kirke Johnson                               Internet: kjohn...@pcc.edu
Email Administrator, TSS , Sylvania Campus      http://www.pcc.edu/
Portland Community College, Portland, OR, USA (503) 977-4368
------------------------------------------------------
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

Reply via email to