commit old stuff
[tools.git] / math / histogram.sh
diff --git a/math/histogram.sh b/math/histogram.sh
new file mode 100755 (executable)
index 0000000..c10fc57
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+round "$1" | cut -d'.' -f1 | sort -n | uniq -c | sed 's|^\s*\([0-9]*\)\s\([0-9]*\)\s*$|\2 \1|'