summaryrefslogtreecommitdiff
path: root/norm
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-05-13 20:31:13 +0200
committerPatrick Simianer <p@simianer.de>2015-05-13 20:31:13 +0200
commitaf156ba147ed29c2e4b02bc24533e5286902a84a (patch)
tree73200aa300540695d3791bae50680c4c5c3b6660 /norm
parent9071a7f2c15c2eddd925edcb62db2794ccad6c50 (diff)
norm
Diffstat (limited to 'norm')
-rwxr-xr-xnorm8
1 files changed, 8 insertions, 0 deletions
diff --git a/norm b/norm
new file mode 100755
index 0000000..5573c37
--- /dev/null
+++ b/norm
@@ -0,0 +1,8 @@
+#!/bin/zsh
+
+sum=$(cat $1 | sum)
+
+for i in `cat $1`; do
+ echo "$i" | div $sum
+done
+