xref
: /
illumos-gate
/
usr
/
src
/
test
/
util-tests
/
tests
/
awk
/
examples
/
awk
/
t.avg
(revision 8a2b682e57a046b828f37bcde1776f131ef4629f)
Home
History
Annotate
Line#
Scopes#
Navigate#
Raw
Download
current directory
1
{s = s + $1; c = c + 1}
2
END {
3
print "sum=", s, " count=", c
4
print "avg=", s/c
5
}
6