JusticeVision (Democracy University): Duplicate Email Addresses
- Time-stamp: "2003-03-11 19:34:12 cymbala"
- WHY?
First, before sending a message to everyone, it's good to delete
duplicate email addresses from database.
Second, when someone asks to be deleted from the distribution
list, their address must be deleted "on the fly" if it was
added back into database after it was deleted.
- HOW?
Simple. Store email addresses in an associative array (or
"hash") using AWK. This will eliminate duplicates because
address is used as key to array.
While printing addresses from array, do not print an address
if it is in EMAIL_BLOCK array.
-
emaildup.awk