0

I have a file txt with 3 columns separated by tabs, like this:

ABC  B  1
BDE  C  4
FDB  D  6

I want to convert these columns into rows, so the file output should be:

ABC  BDE  FDB
B    C    D
1    4    6

I've tried xargs -n1 but it doesn't work. How can I solve? Thanks

AnnRi
  • 1

0 Answers0