aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-27 18:00:02 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-27 18:00:02 +1300
commitc4e80884b5c8ee0e2fbabaa867586d29e1ace9ef (patch)
tree69999e18d91294a2b822b16e2932acacfdb9283a /man
parentMerge branches 'port/bsd/*' (diff)
downloaddotfiles-c4e80884b5c8ee0e2fbabaa867586d29e1ace9ef.tar.gz
dotfiles-c4e80884b5c8ee0e2fbabaa867586d29e1ace9ef.zip
Add max(1df) and min(1df)
Diffstat (limited to 'man')
-rw-r--r--man/man1/max.1df19
-rw-r--r--man/man1/min.1df19
2 files changed, 38 insertions, 0 deletions
diff --git a/man/man1/max.1df b/man/man1/max.1df
new file mode 100644
index 00000000..28431da4
--- /dev/null
+++ b/man/man1/max.1df
@@ -0,0 +1,19 @@
+.TH MAX 1df "September 2016" "Manual page for max"
+.SH NAME
+.B max
+\- print the maximum of a list of numbers
+.SH SYNOPSIS
+printf '%u\\n' 3 55 17 |
+.B max
+.br
+.B max
+file
+.br
+.B max
+file1 file2
+.SH DESCRIPTION
+.B max
+collects all the newline-delimited numbers given as input, and prints the
+maximum.
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>
diff --git a/man/man1/min.1df b/man/man1/min.1df
new file mode 100644
index 00000000..e3279d3b
--- /dev/null
+++ b/man/man1/min.1df
@@ -0,0 +1,19 @@
+.TH MIN 1df "September 2016" "Manual page for min"
+.SH NAME
+.B min
+\- print the minimum of a list of numbers
+.SH SYNOPSIS
+printf '%u\\n' 182 2 22 |
+.B min
+.br
+.B min
+file
+.br
+.B min
+file1 file2
+.SH DESCRIPTION
+.B min
+collects all the newline-delimited numbers given as input, and prints the
+minimum.
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>