Thank you for taking time to look at this. Your suggestion does clean up the output, but it prints each field value in the record to a newline. I need each value to be separated by a comma and each record to a newline...
example:
24, 37, 22', 01, B, 7, 0, , , 0.59999999999999998
24, 37, 22', 01, B, 8, 0, , , 0.59999999999999998
24, 37, 22', 01, B, 9, 0, , , 0.59999999999999998