DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
awk get mean
awk '{ sum += $2; n++ } END { if (n > 0) print sum / n; }'
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#awk
ADD COMMENT
Topic
COMMENT
Name
2+8 =
Submit