unwanted quote marks in output from printf
        Posted  
        
            by Gary
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Gary
        
        
        
        Published on 2010-05-16T00:05:58Z
        Indexed on 
            2010/05/16
            0:10 UTC
        
        
        Read the original article
        Hit count: 549
        
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
© Stack Overflow or respective owner