string - unwanted quote marks in output from printf -


I have some address data that has been exported from the database if there were multiple rows in the address, then the exported data All rows are included in a string in which the pre lines are separated from dollar signals. Here is an address:

  Information Delivery Department $ 704 Cherry ST $ Atlanata, GA 30332-0900  

I'm dividing it into an array of dollars Signing and output three array elements in separate tab-separated fields with printf. For some reason, it comes like this:

  Information Delivery Department 704 Cherry ST "Atlanta, GA 30332-0900"  

I do not want Can quote a quote around that last area, why it is happening and how to press it?

It is being done in Windows Vista with gawk3.1.6.

Thank you! Gary

As the request, here is the code. I am using the length function so that my printf can be passed length for each record I read. If ($ 6 ~ / \ $ /) partition ($ 6 ~ / \ $ $) address ($ 6, AR, "$") address = ARR [2] address = ARR [2] address = ARR [3] address Lenth = Admitted address two locals = length (Adresso) addressress or lennet = length (adressstre) and {address = $ 6 address length = length ($ 6) addresstwo = "" know two dual length = length (adreso) addressthree = "" Adressrelly lang = length (addressrace)} printf ("% * s \ t% * s \ t \% * s \ n", address length, address, address two two-length, ed Eesto, Addressless Lange, AddressStreree) edit on May 19th: I think it will be just a secret today, running the same code and the same input files, in this double quote Not putting it.

I'm not fully acquainted with 'Gak' and I wonder if this is on the wrong side, but It seems that some functions are trying to format the string for use in "Assistant" and CSV, for which citations are required in that area, which includes a comma.


Comments