summaryrefslogtreecommitdiff
path: root/total
diff options
context:
space:
mode:
Diffstat (limited to 'total')
-rwxr-xr-xtotal4
1 files changed, 4 insertions, 0 deletions
diff --git a/total b/total
new file mode 100755
index 0000000..06e7be3
--- /dev/null
+++ b/total
@@ -0,0 +1,4 @@
+#!/usr/bin/awk -f
+
+{ total += $1 }
+END { print total }