Eric Smith wrote: >This seems to be a nice solution; > >$ sudo config_list -o /dev/stdout <listname> |sed 's/advertised = >.*/advertised = False/' -e 's/foo/bar/ |sudo config_list -i /dev/stdin ><listname>
This is unduly complicated. The input to config_list need only contain those things you want to change so you could just do cat << EOF | sudo config_list -i /dev/stdin <listname> advertised = False bar EOF Also, see <http://www.msapiro.net/scripts/set_attributes>, a script which processes things like set_attributes "advertised = False" "foo = bar" listname -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org