Hey Folks,
I have one big text file containing failed e-mail addresses.
Every line in the file is like:
<
username1@yahoo.com>:
Can't open mailbox for
username1@yahoo.com. Temporary error
//I'm not going to try again; this message has been in the queue too long.
I'd like to extract these out. I'd prefer a shell script that would produce
a list of emails on new lines to STDOUT.
E.g.
Running:
./extract.sh > newfile.txt
Would produce output like:
address@domain1.com
address@domain2.com
etc. In a file called newfile.txt
Anybody have a similar script already made in bash or perl?
thanks,
; ) .randy
--
http://spindomains.us/
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss