summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2009-10-31 17:11:40 +0200
committerLars Wirzenius <liw@liw.fi>2009-10-31 17:11:40 +0200
commit7b6184b2c5236786d71e1306d527b31950a184d0 (patch)
tree8cae0bd27840ad706a0ce6f8548157c030b81165
parent5c91474753b9aeca827d2a858932697ff0e22825 (diff)
downloadextrautils-7b6184b2c5236786d71e1306d527b31950a184d0.tar.gz
Removed total, since num-utils exists.
-rwxr-xr-xtotal4
-rw-r--r--total.111
2 files changed, 0 insertions, 15 deletions
diff --git a/total b/total
deleted file mode 100755
index 06e7be3..0000000
--- a/total
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/awk -f
-
-{ total += $1 }
-END { print total }
diff --git a/total.1 b/total.1
deleted file mode 100644
index ae45d89..0000000
--- a/total.1
+++ /dev/null
@@ -1,11 +0,0 @@
-.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.