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

10 lines
143 B
Plaintext

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