File: hist.awk

package info (click to toggle)
grap 1.23-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 672 kB
  • ctags: 563
  • sloc: cpp: 2,907; lex: 1,034; yacc: 1,027; sh: 162; makefile: 157; 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] }