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 474755078e89cc8f29f4eb1a493b7ed114fa50cc
parent 40aa55b0e89b605203a255a0ce9aa3e9e7656546
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 12 Sep 2021 11:36:49 +0200

man pages: improve usage examples

Diffstat:
Mmax.1 | 2+-
Mmean.1 | 2+-
Mmin.1 | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/max.1 b/max.1 @@ -14,7 +14,7 @@ input. 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' | sum +.Dl $ printf '1\et2\et3\en4\et5\et6\en' | max .Dl 4 5 6 .Sh SEE ALSO .Xr mean 1 , diff --git a/mean.1 b/mean.1 @@ -12,7 +12,7 @@ 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 EXAMPLES -.Dl $ printf '1\et2\et3\en4\et5\et6\en' | sum +.Dl $ printf '1\et2\et3\en4\et5\et6\en' | mean .Dl 2.5 3.5 4.5 .Sh SEE ALSO .Xr max 1 , diff --git a/min.1 b/min.1 @@ -13,7 +13,7 @@ input. 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' | sum +.Dl $ printf '1\et2\et3\en4\et5\et6\en' | min .Dl 1 2 3 .Sh SEE ALSO .Xr max 1 ,