Bretton Vine <[EMAIL PROTECTED]> wrote: >What I'm trying to do is extract all those problem addresses, add to a file >and do a `sort | uniq` on it and add it to exim's blacklist (which is >another exercise in frustration due to format being $domain $sender and not >[EMAIL PROTECTED])
Use this awk script: awk '{print $2 "@" $1}' to convert $domain $sender ==> [EMAIL PROTECTED] or to do the reverse: awk '{print $2 " " $1}' FS=@ to convert [EMAIL PROTECTED] ==> $domain $sender ---------------------------------------------------------------------- Barry S. Finkel Computing and Information Systems Division Argonne National Laboratory Phone: +1 (630) 252-7277 9700 South Cass Avenue Facsimile:+1 (630) 252-4601 Building 222, Room D209 Internet: [EMAIL PROTECTED] Argonne, IL 60439-4828 IBMMAIL: I1004994 ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp