The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: Delimited files
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 01-10-2006
hrshah74 hrshah74 is offline
Registered User
  
 

Join Date: Jan 2006
Posts: 3
Comma in field 3 is an issue

Hi
The comma in field 3 screws up your solution.
When I ran the script, I got following

field1="F000GB_01102006A_input.csv" field2=10 field3="Long Beach field4=
Acceptance Corp.","F000GB"

I want following format
field1="F000GB_01102006A_input.csv" field2=10 field3="Long Beach,
Acceptance Corp." field4="F000GB"