This website requires JavaScript.
Explore
Help
Sign In
midfavila
/
awk
Watch
1
Star
0
Fork
You've already forked awk
0
Code
Issues
Pull Requests
Projects
Releases
1
Wiki
Activity
master
awk
/
testdir
/
t.avg
6 lines
80 B
Plaintext
Raw
Permalink
Blame
History
{s = s + $1; c = c + 1}
END {
print "sum=", s, " count=", c
print "avg=", s/c
}
Reference in New Issue
View Git Blame
Copy Permalink