<i>sc</i> [1], the venerable text mode spreadsheet, has `pt&#x27; (transpose) command.<p>And yes, it&#x27;s a visual program, in that you operate on grid of cells.<p>[1] <a href="http:&#x2F;&#x2F;www.linuxjournal.com&#x2F;article&#x2F;10699" rel="nofollow">http:&#x2F;&#x2F;www.linuxjournal.com&#x2F;article&#x2F;10699</a>