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