File: hist2.awk

package info (click to toggle)
grap 1.26-4.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 748 kB
  • ctags: 569
  • sloc: cpp: 2,934; yacc: 1,035; lex: 1,031; sh: 157; makefile: 154; awk: 5
file content (2 lines) | stat: -rw-r--r-- 93 bytes parent folder | download | duplicates (6)
1
2
BEGIN {bzs = 0; bw=1e6 }
{ thisbin = int(($3-bzs)/bw); print $1, thisbin, count[thisbin]++ }