Hi
Another query ... I have a csv file with names and addresses, eg:
FRED,SMITH,128 NEW DRIVE,LONDON
but sometimes I get a record:
FRED,SMITH,"128 NEW DRIVE,HOLBORN", LONDON
where 128 NEW DRIVE,HOLBORN is the third field
Is there any easy way to code this in awk, perhaps with pattern matching for "*,*" or something?
Thanks
Chris
Another query ... I have a csv file with names and addresses, eg:
FRED,SMITH,128 NEW DRIVE,LONDON
but sometimes I get a record:
FRED,SMITH,"128 NEW DRIVE,HOLBORN", LONDON
where 128 NEW DRIVE,HOLBORN is the third field
Is there any easy way to code this in awk, perhaps with pattern matching for "*,*" or something?
Thanks
Chris