I'm trying to do some file conversion/manipulation/whatever you want to call it.  I've got a file that looks like this right now:
Name
Company
Phone Numbers
Email Address
...anyone know what I might be able to do in sed or awk to get that line deleted? I can't figure this one out.
Bleh.
Rob
			
			I've managed, using sed, to get it pared down:Jim Wornast CENTURY 21 Smith/Ring Inc.
Toll Free: 1-888-842-1475, Direct: 425-221-2311, Email:
[17]jgw@merlinchess.com
Real Estate, Buyer, Fisrt time buyer, Buyers Agent
[18]Add to Scratch Pad
[19]Contact me now
[20]Go to my site
[21]"Ask for" Fay Ainsworth - Real Estate Consultant -
JOHN L. SCOTT REAL ESTATE - FEDERAL WAY
Office: (253)927-4000, Mobile: (253)222-4329, Email:
[22]fayainsworth@msn.com
Puget Sound Lifestyles, View Property, Waterfront, Investment, First
Home, Retirement, *
[23]Add to Scratch Pad
[24]Contact me now
[25]Go to my site
<snip>
Now it looks better:1,/15/d
s/site/site\n/g
s/[[][0-9]*[]]//g
s/\"//g
s/\*//g
s/Email\://g
s/^\n//g
s/^[(][0-9]*[)].*[0-9]//g
s/^ *//
/^<</,/^END/d
/^Add/d
/^Contact/d
s/^Go to my site//g
s/^\n//g
s/\n$//g
I'm trying to get the last line(s) (everything after the email address until the next group of names starts) to be deleted, so that I get something that looks like this:Jim Wornast CENTURY 21 Smith/Ring Inc.
Toll Free: 1-888-842-1475, Direct: 425-221-2311,
jgw@merlinchess.com
Real Estate, Buyer, Fisrt time buyer, Buyers Agent
Ask for Fay Ainsworth - Real Estate Consultant -
JOHN L. SCOTT REAL ESTATE - FEDERAL WAY
Office: (253)927-4000, Mobile: (253)222-4329,
fayainsworth@msn.com
Puget Sound Lifestyles, View Property, Waterfront, Investment, First
Home, Retirement,
Tim Altman
Fred Sands Desert Realty
Toll Free: (877)867-3166, Office: (760)341-9710,
agenttim@hotmail.com
Buy or Sell, Let Tim Altman Be Your Next HouseSold Agent...
Name
Company
Phone Numbers
Email Address
...anyone know what I might be able to do in sed or awk to get that line deleted? I can't figure this one out.
Bleh.
Rob
				
		
			