From 1471942ed1253924abdf82d2fcc5201bda3c2231 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Thu, 6 Mar 2014 15:21:53 +0100 Subject: [PATCH] Scripts: colsum sums the specified column --- .scripts/colsum | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 .scripts/colsum diff --git a/.scripts/colsum b/.scripts/colsum new file mode 100755 index 00000000..7c9ba798 --- /dev/null +++ b/.scripts/colsum @@ -0,0 +1,20 @@ +#!/bin/sh + +COLUMN="1" +FORMAT="TOTAL: %s\n" + +if [ "$1" = "-h" ]; then + cat<