tmin.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
---
tmin.1 (921B)
---
1 .Dd $Mdocdate$
2 .Dt MIN 1
3 .Os
4 .Sh NAME
5 .Nm min
6 .Nd returns the minimum value for each column
7 .Sh SYNOPSIS
8 .Nm
9 .Op Fl d Ar delimstr
10 .Op Fl n
11 .Op Fl p Ar prec
12 .Sh DESCRIPTION
13 .Nm
14 returns the minimum numerical value for each column in standard
15 input.
16 Input fields must be tab-separated and each line must contain the same
17 number of fields.
18 .Pp
19 The options are as follows:
20 .Bl -tag -width Ds
21 .It Fl d Ar delimstr
22 Separate output values by
23 .Ar delimstr .
24 The default delimiter is tab characters.
25 .It Fl n
26 Do not print a newline after the final value.
27 .It Fl p Ar prec
28 Print the output values with
29 .Ar prec
30 digits of precision.
31 By default, the output is printed with 17 digits of precision, which is
32 full double precision on 64-bit systems.
33 .El
34 .Sh EXAMPLES
35 .Dl $ printf '1\et2\et3\en4\et5\et6\en' | min
36 .Dl 1 2 3
37 .Sh SEE ALSO
38 .Xr max 1 ,
39 .Xr mean 1 ,
40 .Xr sum 1
41 .Sh AUTHORS
42 .An Anders Damsgaard Aq Mt anders@adamsgaard.dk