qse/regress/awk/emp-024.awk

5 lines
119 B
Awk
Raw Normal View History

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