I have an input data file:
anim gent
FZ543 1
FZ543 2
FZ543 3
FZ543 1
FZ547 4
FZ547 3
FZ547 3
FZ547 1
I wanted to transpose these data to:-
anim gent
FZ543 1 2 3 1
FZ547 4 3 3 1
In other words, I wanted to transpose elements from vertical to horizontal. I can used AWK Comand
Thanks for your atention.