ttranspose.1 - numtools - perform numerical operations on vectors and matrices in unix pipes
 (HTM) git clone git://src.adamsgaard.dk/numtools
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       ttranspose.1 (668B)
       ---
            1 .Dd $Mdocdate$
            2 .Dt TRANSPOSE 1
            3 .Os
            4 .Sh NAME
            5 .Nm transpose
            6 .Nd interchanges the row and column positions for each field
            7 .Sh SYNOPSIS
            8 .Nm
            9 .Sh DESCRIPTION
           10 .Nm
           11 flips the rows and columns of a matrix given by standard input,
           12 effectively transposing it around the diagonal axis.
           13 This means that an input file with N columns and M rows is output
           14 as M columns and N rows.
           15 Input fields must be tab-separated and each line must contain the
           16 same number of fields.
           17 .Sh EXAMPLES
           18 .Dl $ printf '1\et2\et3\en4\et5\et6\en' | transpose
           19 .Dl 1   4
           20 .Dl 2   5
           21 .Dl 3   6
           22 .Sh SEE ALSO
           23 .Xr max 1 ,
           24 .Xr mean 1 ,
           25 .Xr min 1 ,
           26 .Xr sum 1
           27 .Sh AUTHORS
           28 .An Anders Damsgaard Aq Mt anders@adamsgaard.dk