aboutsummaryrefslogtreecommitdiff
path: root/man/man1/med.1df
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/man1/med.1df
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/man1/med.1df')
-rw-r--r--man/man1/med.1df4
1 files changed, 2 insertions, 2 deletions
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.