Great Circle Associates Majordomo-Users
(February 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: disbling welcome with using admin approve key
From: Dave Wolfe <dwolfe @ risc . sps . mot . com>
Date: Wed, 19 Feb 1997 08:43:26 -0600 (CST)
To: kparker @ kparker . nai . net (Kenneth W. Parker)
Cc: majordomo-users @ GreatCircle . COM
In-reply-to: <Pine.LNX.3.95.970219003406.14518A-100000@kparker.nai.net> from "Kenneth W. Parker" at Feb 19, 97 00:37:25 am
Reply-to: Dave Wolfe <david_wolfe @ risc . sps . mot . com>

[ Kenneth W. Parker writes: ]
> 
> > Now, wouldn't it be possible to write
> > a Perl script that takes fields out of an /etc/passwd file and puts
> > them in exactly the right order to make a Majordomo user list file?
> 
>    This is NOT a request for someone to write such a script.  
> (Though with the length of time Majordomo's been out there, 
> that script has PROBABLY already been done multiple times...)

Shoot, it's just a (longish) one-liner:

ypcat passwd | perl -naF/:/ -e 'print "$F[0]\@where.ever.com ($F[4])\n"
   if $F[2] > 100 && $F[2] < 32767 && length($F[1]) == 13;' >...

-- 
 Dave Wolfe


References:
Indexed By Date Previous: varying non-list-owner to approve
From: David Epstein <mareb@csv.warwick.ac.uk>
Next: Re: Help on setting up archive+digest
From: Dave Wolfe <dwolfe@risc.sps.mot.com>
Indexed By Thread Previous: Re: disbling welcome with using admin approve key
From: "Kenneth W. Parker" <kparker@kparker.nai.net>
Next: Forcing the Digest
From: harley@intwiz.wizards.net (Carol M. Calandra)

Google
 
Search Internet Search www.greatcircle.com