Barry Finkel wrote:

>I have a script that I use to add an address to
>
>     accept_these_nonmembers
>
>It uses
>
>     "mlist.accept_these_nonmembers.append('$1')"
>
>Is there a way I can invoke this C-shell script so that
>the address is surrounded by apostrophes?  I want the resulting
>address to be
>
>     '[email protected]'
>
>I tried invoking my script
>
>      ..... '[email protected]'
>
>but that did not preserve the apostrophes.  I am not sure if this
>is a C-shell question, or a Mailman-python question, or both.


You could try invoking your script as

      ..... \\\'[email protected]\\\'

This will cause $1 to be \'[email protected]\' and
mlist.accept_these_nonmembers.append('\'[email protected]\'') should do
what you want.

-- 
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://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

Reply via email to