[Mailman-Users] adding new members with their fullnames viacommandline

lkolchin at univ.haifa.ac.il lkolchin at univ.haifa.ac.il
Thu Sep 22 13:32:26 CEST 2005


Hello Hannah,

Thanks for your reply.

Terrific, there is no syntax for such thing in ./add_members --help!!!

This syntax is working:
echo '"firstname lastname" <user at domain.example>' | ./add_members -r - testlist2

Could you please tell what syntax should I use if I have file with the list of users, like following:
firstname1 lastname1 <user1 at domain.com>
firstname2 lastname2 <user2 at domain.com>
..................

Best Regards,
Leon Kolchinsky





-----Original Message-----
From: mailman-users-bounces+lkolchin=univ.haifa.ac.il at python.org [mailto:mailman-users-bounces+lkolchin=univ.haifa.ac.il at python.org] On Behalf Of Hannah Schroeter
Sent: Thursday, September 22, 2005 1:08 PM
To: mailman-users at python.org
Subject: Re: [Mailman-Users] adding new members with their fullnames viacommandline

Hello!

On Thu, Sep 22, 2005 at 12:00:58PM +0300, lkolchin at univ.haifa.ac.il wrote:
>Hello Again,

>Is it true that there is no way to add member to the list with his full name from the command line?

>I know that the below syntax won't work:
>./add_members -r - "firstname1 lastname1" <user1 at domain.com> 
>somelistname

There're a few things wrong with that command line.

First, you'd probably have to quote the special characters, ", <, and >.

Second, with "-r -" you specify that add_members will read the addresses of the members to add from standard input.

I.e. you could try something like
  echo '"firstname lastname" <user at domain.example>' |
    add_members -r - listname

>[...]

Kind regards,

Hannah.
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users at 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/lkolchin%40univ.haifa.ac.il

Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp



More information about the Mailman-Users mailing list