[ale] Email munging.....

Amarendra Godbole (Intl Vendor) v-amarg at microsoft.com
Thu Jul 25 08:07:37 EDT 2002


> Anyone out where know of a program that when run on a file 
> will replace
> all <login>@<domain>.<tld> with <login> at <domain> dot <tld>? I could
> hack something together pretty quick that would do it, but I 

This might do the trick:

sed -e 's/@/ at /g;s/\./ dot /g' emails.data >/tmp/emails.data.1 && mv
/tmp/emails.data.1 emails.data

`emails.data' is the file containing the email addresses. Use this
script with the `standard disclaimer.' ;-)

Cheers,
--amar

--
Amarendra A. Godbole / Microsoft ``Services For UNIX'' / These opinions
are _MINE_.
If anything can go wrong, _FIX_ it. (To hell with MURPHY)


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.






More information about the Ale mailing list