xref
: /
freebsd
/
contrib
/
one-true-awk
/
testdir
/
t.avg
(revision 3e8eb5c7f4909209c042403ddee340b2ee7003a5)
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