aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-09-02 00:18:50 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-09-02 00:18:50 +1200
commit62dbc06c52f460ec297a3c3c48db77f04f285d0f (patch)
tree3754774e63260c0bf9899da8c17af7bcdf31deb2 /man
parentFix POSIX non-compliance in cfr(1) (diff)
downloaddotfiles-62dbc06c52f460ec297a3c3c48db77f04f285d0f.tar.gz
dotfiles-62dbc06c52f460ec297a3c3c48db77f04f285d0f.zip
Add tot(1df)
Diffstat (limited to 'man')
-rw-r--r--man/man1/tot.1df19
1 files changed, 19 insertions, 0 deletions
diff --git a/man/man1/tot.1df b/man/man1/tot.1df
new file mode 100644
index 00000000..c098cbe1
--- /dev/null
+++ b/man/man1/tot.1df
@@ -0,0 +1,19 @@
+.TH TOT 1df "September 2016" "Manual page for tot"
+.SH NAME
+.B tot
+\- print a count of entries in a directory
+.SH SYNOPSIS
+printf '%u\\n' 5 9 53 145 |
+.B tot
+.br
+.B tot
+file
+.br
+.B tot
+file1 file2
+.SH DESCRIPTION
+.B tot
+adds up all the newline-delimited integers given as input, and prints the
+total.
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>