how to convert columns to rows and from rows to columns similar to transpose of matrix for the data present in the file.
for ex:- input file:-
aa ab ac ad ae af ag
ba bb bc bd be bf bg
ca cb cc cd ce cf cg
output file:-
aa ba ca
ab bb cb
ac bc cc
ad bd cd
ae be ce
af bf cf
ag bg cg
Thank you :)