in reply to Transpose a file
perl -na -E "BEGIN{$c=0}; $x[$_][$c]=$F[$_] for 0..$#F; $c++} {say qq|@$_| for @x" transpose-this.txt
This is not an optical illusion, it just looks like one.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Transpose a file
by Discipulus (Canon) on May 11, 2016 at 08:24 UTC | |
by choroba (Cardinal) on May 11, 2016 at 13:24 UTC | |
by Discipulus (Canon) on May 11, 2016 at 19:25 UTC | |
by NetWallah (Canon) on May 11, 2016 at 13:59 UTC |