I am fairly new at this,
I wrote a awk program to give me some summary information about a file. At the end of the program I want to print some variables but for some reason it keeps wrapping the last variable on a new line in the output file.
Here is the print command
print "99", file_id, file_status, file_rec_total, rec_count, file_hash_total,line_rec_total
I get all the variables in the output but the last one on a different line:
99 GEACPENSION PASSED 14304 14304 1517113.23
1517113.23
Is it because of the number of variables? Is there a way to set up a no wrap rule?