qse/ase/test/awk/emp-024.out

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