summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@iki.fi>2008-05-18 18:36:10 +0300
committerLars Wirzenius <liw@iki.fi>2008-05-18 18:36:10 +0300
commit14f230eb129cb0eb167a88784cf3debcfd92f953 (patch)
tree881de72327f2eb82aaa9779b5e768c7f15baf5db
parent772dbd918b40ec3040dcf39335f1ed7a0188ad5a (diff)
downloadextrautils-14f230eb129cb0eb167a88784cf3debcfd92f953.tar.gz
Wrote total.1 manual page.
-rw-r--r--total.111
1 files changed, 11 insertions, 0 deletions
diff --git a/total.1 b/total.1
new file mode 100644
index 0000000..ae45d89
--- /dev/null
+++ b/total.1
@@ -0,0 +1,11 @@
+.TH TOTAL 1
+.SH NAME
+total \- add numbers in first column, write total
+.SH SYNOPSIS
+.B total
+.IR file ...
+.SH DESCRIPTION
+.B total
+reads files named on the command line, or the standard input if none given,
+and adds together the numbers in the first column of each line.
+At the end, it writes out the sum.