Patrick Bogen wrote: >On 5/24/06, Benjamin Roger <[EMAIL PROTECTED]> wrote: >> Isn't there something like a shell script for the withlist console? It >> would really be cool to be able to apply those commands to all lists at >> once, or, at least, to a particular list using a single command. >> >FAQ 03.016 has a good example of how to use withlist like this: >http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.016.htp
And bin/withlist --help also gives examples of using withlist with a script file. Applying a script that needs the list locked to all lists (with the '-a' option to withlist) is tricky because 'withlist -a' only unlocks the last list so the script needs to do the unlocking. See <http://mail.python.org/pipermail/mailman-users/2006-February/049447.html> for a sample script that works whether or not you specify '-l' to withlist. -- Mark Sapiro <[EMAIL PROTECTED]> 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://www.python.org/cgi-bin/faqw-mm.py 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://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp