projects
/
tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
math/histogram.sh
@@ -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|'