unwanted quote marks in output from printf
- by Gary
I have some address data which has been exported from a database. If the address had multiple lines, the exported data has joined all the lines into one string with the former lines being separated by dollars signs. Here's one of the addresses:
INFORMATION DELIVERY DEPT$704 CHERRY ST$ATLANTA, GA 30332-0900
I'm splitting this into an array on the dollar sign and outputting the three array elements into separate tab-separated fields with printf. For some reason, it comes out like this:
INFORMATION DELIVERY DEPT 704 CHERRY ST "ATLANTA, GA 30332-0900"
I don't want the quotes around that final field. Can anyone explain why this is happening and how to suppress it?
This is being done in Windows Vista with gawk3.1.6.
Thanks!
gary