commit 6bfb18f4d16b9534c030786800724ff99710a872
parent 2fc0a75c3eb48893295e00f245e0099977ea4147
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 11 Sep 2021 21:12:54 +0200
transpose.1: add note on input format requirements
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/transpose.1 b/transpose.1
@@ -12,6 +12,8 @@ flips the rows and columns of a matrix given by standard input,
effectively transposing it around the diagonal axis.
This means that an input file with N colums and M rows is output
as M colums and N rows.
+Input fields must be tab-separated and each line must contain the
+same number of fields.
.Sh EXAMPLES
.Dl $ printf '1\et2\et3\en4\et5\et6\en' | transpose
.Dl 1 4