?? genplothost.awk
字號(hào):
/*compute the delivery rate h <speed, sent, delivered> point*/NR == 1 { h = $2; sp = $1 samples = 1; }NR >1 { if( sp != $1) { printf"%d \t %.2f\n", sp, h /samples; /* reinitialize the variables */ h = $2; sp = $1; samples = 1; } else { h += $2; samples ++; } }END { /* print the last row that otherwise wouldn't be printed */ printf"%d \t %.2f\n", sp, h /samples; }
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -