numtools

perform numerical operations on vectors and matrices in unix pipes
git clone git://src.adamsgaard.dk/numtools # fast
git clone https://src.adamsgaard.dk/numtools.git # slow
Log | Files | Refs | README | LICENSE Back to index

commit 187e61d79f66b4e95994b407ad60330b0344c4fb
parent 2399b2f0954366669edb94226a8e41a6e6785a2e
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue, 31 Aug 2021 15:35:55 +0200

fix synopsis and description now that only stdin is accepted

Diffstat:
Mmax.1 | 11++++-------
Mmean.1 | 7+------
Mmin.1 | 8++------
Msum.1 | 11+++--------
4 files changed, 10 insertions(+), 27 deletions(-)

diff --git a/max.1 b/max.1 @@ -9,13 +9,10 @@ .Op Ar file .Sh DESCRIPTION .Nm -returns the maximum numerical value for each column in -.Ar file -or in standard input, if no -.Ar file -is given. -Input fields must be tab-separated and each line must contain the same -number of fields. +returns the maximum numerical value for each column in standard +input. +Input fields must be tab-separated and each line must contain +the same number of fields. .Sh SEE ALSO .Xr mean 1 , .Xr min 1 , diff --git a/mean.1 b/mean.1 @@ -6,14 +6,9 @@ .Nd returns the average value for each column .Sh SYNOPSIS .Nm -.Op Ar file .Sh DESCRIPTION .Nm -returns the mean numerical value for each column in -.Ar file -or in standard input, if no -.Ar file -is given. +returns the mean numerical value for each column in standard input. Input fields must be tab-separated and each line must contain the same number of fields. .Sh SEE ALSO diff --git a/min.1 b/min.1 @@ -6,14 +6,10 @@ .Nd returns the minimum value for each column .Sh SYNOPSIS .Nm -.Op Ar file .Sh DESCRIPTION .Nm -returns the minimum numerical value for each column in -.Ar file -or in standard input, if no -.Ar file -is given. +returns the minimum numerical value for each column in standard +input. Input fields must be tab-separated and each line must contain the same number of fields. .Sh SEE ALSO diff --git a/sum.1 b/sum.1 @@ -6,16 +6,11 @@ .Nd returns the sum for each column .Sh SYNOPSIS .Nm -.Op Ar file .Sh DESCRIPTION .Nm -returns the numerical sum for each column in -.Ar file -or in standard input, if no -.Ar file -is given. -Input fields must be tab-separated and each line must contain the same -number of fields. +returns the numerical sum for each column in standard input. +Input fields must be tab-separated and each line must contain the +same number of fields. .Sh SEE ALSO .Xr max 1 , .Xr mean 1 ,