Great Circle Associates Majordomo-Users
(July 1998)
 

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

Subject: Re: MJ subscribes list file format
From: Jason L Tibbitts III <tibbs @ hpc . uh . edu>
Date: 25 Jul 1998 10:43:28 -0500
To: majordomo-users @ GreatCircle . COM
In-reply-to: Jason L Tibbitts III's message of "25 Jul 1998 09:41:36 -0500"
References: <3.0.5.32.19980724193611.007d33b0@spunge.org> <ufak952at7j.fsf@sina.hpc.uh.edu>

>>>>> "JLT" == Jason L Tibbitts <tibbs@hpc.uh.edu> writes:

JLT> perl -e 'while (<>) {@a=split; print "$a[4] $a[5] <$a[0]>\n"}'

I should note that this will produce illegal addresses if the full name
fields contain characters that are (according to RFC822) illegal in the
phrase part of a route address.  To guard against this possibility at the
expense of having slightly uglier addresses, you can do:

perl -e 'while (<>) {@a=split; print "\"$a[4] $a[5]\" <$a[0]>\n"}'

or

perl -e 'while (<>) {@a=split; print "$a[0] ($a[4] $a[5])\n"}'

 - J<


Follow-Ups:
References:
Indexed By Date Previous: Re: MJ subscribes list file format
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Re: Developing HTML history
From: "Ramon Gonzalez" <kp4tr@leading.net>
Indexed By Thread Previous: Re: MJ subscribes list file format
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Re: MJ subscribes list file format
From: Jeffrey Goldberg <J.Goldberg@Cranfield.ac.uk>

Google
 
Search Internet Search www.greatcircle.com