Gossamer Forum
Home : Products : Gossamer AutoRespond : Discussion :

Any shell script to just get the email address

Quote Reply
Any shell script to just get the email address
From the dump file of GTAR how can only the email address be separated out. Is there a shell script to do this? The format of the dump file is:

LeadID UserID_FK Name Email Stop_Status Message_Cycle Last_Followup Start_Date Notes

The data that exists is

LeadID
Email
Stop_Status
Message_Cycle
Last_Followup
Start_Date

Other columns are blank.
In certain rows the Email column is also having comma separated email addresses. something like this:
srtrade2004@yahoo.co.in,dhanitrading@yahoo.com,blabla@hotmail.com

I am trying followin but it doesn't get me the result

grep Normal dump.txt | cut cut -d" " -f4

Any other way?

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================

Last edited by:

HyperTherm: Jun 18, 2005, 11:58 AM
Quote Reply
Re: [HyperTherm] Any shell script to just get the email address In reply to
Never mind, got it going

grep Normal dump.txt | cut -f4

:)

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================