Subject: The mailing list for listmasters using Sympa
List archive
- From: Fil <address@concealed>
- To: Anton Slabbinck <address@concealed>
- Cc: address@concealed
- Subject: Re: [sympa-users] import large list in sympa
- Date: Fri, 26 Jan 2001 12:38:24 +0100
Better still: show lines which don't match
%%%%%%%%%%%%%%%%%%% BEGIN import_list.pl
#!/usr/bin/perl
$v=0;
$n=0;
while(<>){
$n++;
if (($email,$name) = /([^ ]+\@[^ ]+)\s*(.*)/){
$v++;
print "email $email\n";
print "gecos $name\n";
print "reception mail\nvisibility conceal\n\n";
} else {
print STDERR "ERROR line $n:".$_;
}
}
print STDERR "Seen $v addresses in $n lines\n";
%%%%%%%%%%%%%%%%%%%
-
import large list in sympa,
Anton Slabbinck, 01/26/2001
-
Re: [sympa-users] import large list in sympa,
Fil, 01/26/2001
-
Re: [sympa-users] import large list in sympa,
Fil, 01/26/2001
- Re: [sympa-users] import large list in sympa, Fil, 01/26/2001
-
Re: [sympa-users] import large list in sympa,
Fil, 01/26/2001
-
Re: [sympa-users] import large list in sympa,
Olivier Salaun, 01/26/2001
- Re: [sympa-users] import large list in sympa, Anton Slabbinck, 01/26/2001
-
Re: [sympa-users] import large list in sympa,
Fil, 01/26/2001
Archive powered by MHonArc 2.6.19+.