qse/ase/cmd/awk/emp-024.awk
2008-03-21 03:49:53 +00:00

5 lines
119 B
Awk

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