Google Answers Logo
View Question
Q: Extracting emails ( No Answer,   0 Comments )
Subject: Extracting emails
Category: Computers > Algorithms
Asked by: samuelnorris-ga
List Price: $10.00
Posted: 01 Oct 2005 18:07 PDT
Expires: 03 Oct 2005 16:43 PDT
Question ID: 575178
What is a sed or awk or other unix command that I can use to extract
ONLY email addresses (or ones that looks
like addresses) from a MBOX file on unix?  We have a large file of
emails that we simply need the *@* entries from so we can rebuild a
mailing list.  If there are a few exceptions its okay, we will clean
them by hand.  We just have a 100mb mbox file that has email address
strewn the whole thing.  I cannot figure out how to get grep / sed /
awk to only print the substring and not the entire line that holds the
There is no answer at this time.

There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  

Google Home - Answers FAQ - Terms of Service - Privacy Policy