How can I transpose all the rows for columns in a text file?
All the fields are space delimited and I have no idea how many columns there are to start off with.
I had a simple thing to do one at a time but I can't figure out how to make this expand to do all of the columns at once.
gawk '$3 == "500" {printf $4 " "}' xx.x > zz.z; echo >>zz.z
Any help you guys could offer would be wonderful.
All the fields are space delimited and I have no idea how many columns there are to start off with.
I had a simple thing to do one at a time but I can't figure out how to make this expand to do all of the columns at once.
gawk '$3 == "500" {printf $4 " "}' xx.x > zz.z; echo >>zz.z
Any help you guys could offer would be wonderful.