5 lines
119 B
Awk
5 lines
119 B
Awk
|
{ nc = nc + length($0) + 1;
|
||
|
nw = nw + NF;
|
||
|
}
|
||
|
END { print NR, "lines,", nw, "words,", nc, "characters"; }
|