File: hist.awk

package info (click to toggle)
grap 1.43-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 852 kB
  • ctags: 615
  • sloc: cpp: 3,231; yacc: 1,065; lex: 1,046; makefile: 163; sh: 153; awk: 5
file content (3 lines) | stat: -rw-r--r-- 98 bytes parent folder | download | duplicates (6)
1
2
3
BEGIN { bzs; bw = 1e6 }
{ count [int(($3-bzs)/bw)]++ }
END { for (i in count) print i, count[i] }