aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-09-08 22:49:28 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-09-08 22:49:28 +1200
commit677d0e5fdc76620253af865ca03fd602c0419047 (patch)
treea47d3e848aace0f9f2d7b7d2443f1e0588fab70a /man
parentAdd more color-setting attempts to rgl(1df) (diff)
downloaddotfiles-677d0e5fdc76620253af865ca03fd602c0419047.tar.gz
dotfiles-677d0e5fdc76620253af865ca03fd602c0419047.zip
Generalise mean,med,mode,tot(1df) to numbers
Not just integers
Diffstat (limited to 'man')
-rw-r--r--man/man1/mean.1df4
-rw-r--r--man/man1/med.1df4
-rw-r--r--man/man1/mode.1df4
-rw-r--r--man/man1/tot.1df2
4 files changed, 7 insertions, 7 deletions
diff --git a/man/man1/mean.1df b/man/man1/mean.1df
index 21f509f2..2fcc0f05 100644
--- a/man/man1/mean.1df
+++ b/man/man1/mean.1df
@@ -1,7 +1,7 @@
.TH MEAN 1df "September 2016" "Manual page for mean"
.SH NAME
.B mean
-\- print the mean of a list of integers
+\- print the mean of a list of numbers
.SH SYNOPSIS
printf '%u\\n' 8 1 58 |
.B mean
@@ -13,7 +13,7 @@ file
file1 file2
.SH DESCRIPTION
.B mean
-collects all the newline-delimited integers given as input, and prints the
+collects all the newline-delimited numbers given as input, and prints the
mean.
.SH AUTHOR
Tom Ryder <tom@sanctum.geek.nz>
diff --git a/man/man1/med.1df b/man/man1/med.1df
index 0fab7db2..70f8c131 100644
--- a/man/man1/med.1df
+++ b/man/man1/med.1df
@@ -1,7 +1,7 @@
.TH MED 1df "September 2016" "Manual page for med"
.SH NAME
.B med
-\- print the med of a list of integers
+\- print the med of a list of numbers
.SH SYNOPSIS
printf '%u\\n' 14 2 10 |
.B med
@@ -13,7 +13,7 @@ file
file1 file2
.SH DESCRIPTION
.B med
-collects all the newline-delimited integers given as input, and prints the
+collects all the newline-delimited numbers given as input, and prints the
median. It uses the floor of the mean of the two median values if the number of
records is even. The input must be sorted, and a warning will be issued if it
isn't.
diff --git a/man/man1/mode.1df b/man/man1/mode.1df
index d4727235..a0a30047 100644
--- a/man/man1/mode.1df
+++ b/man/man1/mode.1df
@@ -1,7 +1,7 @@
.TH MODE 1df "September 2016" "Manual page for mode"
.SH NAME
.B mode
-\- print the mode of a list of integers
+\- print the mode of a list of numbers
.SH SYNOPSIS
printf '%u\\n' 2 35 3 8 |
.B mode
@@ -13,7 +13,7 @@ file
file1 file2
.SH DESCRIPTION
.B mode
-collects all the newline-delimited integers given as input, and prints the
+collects all the newline-delimited numbers given as input, and prints the
mode. If two values have the same frequency (i.e. a multimodal distribution),
it will print the one that reaches that frequency first in the data set.
.SH AUTHOR
diff --git a/man/man1/tot.1df b/man/man1/tot.1df
index c098cbe1..ed2983a2 100644
--- a/man/man1/tot.1df
+++ b/man/man1/tot.1df
@@ -13,7 +13,7 @@ file
file1 file2
.SH DESCRIPTION
.B tot
-adds up all the newline-delimited integers given as input, and prints the
+adds up all the newline-delimited numbers given as input, and prints the
total.
.SH AUTHOR
Tom Ryder <tom@sanctum.geek.nz>