D'oh! the script should read:
echo $[EMAIL PROTECTED] >> ~mailman/localusers.txt
Then be sure to remove the file after you do the mailman sync!
Take care - Jon Carnes
===
On Mon, 2002-10-21 at 14:25, Ciolo_-^DusT^-_WebMaster wrote:
> > USERS=`cat /etc/passwd |sed -n "30,$ p"| cut -f1 -d: `
>
> I put the result of this command in a file and all is good
> the problems I think start here...
> ...
> > for i in $USERS
> > do
> > echo $[EMAIL PROTECTED] > ~mailman/localusers.txt
> > done
>
> everytime he do it only for the last...
>
> example
> user are:
> a
> b
> c
> d
>
> he write only
>
> [EMAIL PROTECTED]
>
> ps: I found out (studying the first command you gave me) that I can have the
> same result with :
>
> USERS=`ls /home/ | cat `
>
> what you think about it?
>
> ciao
> byez
> CioloWeb
>
>
------------------------------------------------------
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/