4 lines
101 B
Awk
Executable File
4 lines
101 B
Awk
Executable File
#! /tmp/gawk -f
|
|
{ ccount += length($0) }
|
|
END { printf "average line length is %2.4f\n", ccount/NR}
|