awk/testdir/t.avg
Arnold D. Robbins d6c466c367 Extract testdir.
2019-06-23 03:13:57 -06:00

6 lines
80 B
Plaintext

{s = s + $1; c = c + 1}
END {
print "sum=", s, " count=", c
print "avg=", s/c
}