peter pilsl wrote:
>
>I've a list on my system starting with " " and I cannot remove it.
>
># /usr/local/mailman/bin/list_lists -b | grep "^ "
>  mystupidlist
>
>I tried
>
>rmlist ' mystupidlist'
>rmlist " mystupidlist"
>rmlist "\ mystupidlist"
>rmlist \ mystupidlist
>
>without success. Always a error like:
>
>No such list: \ mystupidlist


bin/rmlist can't (as you've discovered) remove a list with a leading or
trailing space. You could try patching rmlist by changing the 9th line
in the main() function from

    listname = args[0].lower().strip()

to

    listname = args[0].lower()

but it is probably easier to just do

rm -r lists/\ mystupidlist

The real question is do you know how you managed to create this list?
That looks like a hole we need to plug.

-- 
Mark Sapiro <[EMAIL PROTECTED]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
[email protected]
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&amp;file=faq01.027.htp

Reply via email to