LQ Newbie
Registered: May 2008
Posts: 3
Original Poster
Rep:
|
I guess thats not going to work because the addresses are not in separate lines, they are in every line of text. This is what part of my text file looks like:
"C","","Ellington","","cell@example.net","Page1","","","","","","","","","","","","","","","","","", "","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""
"Cali","","Nichols","","ccni@example.com","","","","","","","","","","","","","","","","","","",""," ","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""
"Carey","","Davis","","carey@example.com","ida-rmb","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","" ,"","","","","","","","","","","","","","","","",""
"Carla","","Kociolek","","cakoci@example.com","","","","","","","","","","","","","","","","","","", "","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""
"Carmen","","Senter","","cirw@example.com","Page1","","","","","","","","","","","","","","","",""," ","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""," "
"Carol","","Foster","","caro@example.com","Page1","","","","","","","","","","","","","","","","","" ,"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""
"Carol","","Carr","","carr@example.net","Parent","","",
So the "grep" command just ends up copying the whole file. Thanks anyways for your help guys.
Last edited by tommy.sean; 05-26-2008 at 05:02 PM.
|