gno/usr.bin/awk/tests/ch1p79.awk
tribby ddb82cb2e0 Remaining files for awk 2.0 that were left out of the previous checkin.
Maybe someday I'll become adept at using cvs...
1998-04-07 17:06:53 +00:00

3 lines
73 B
Awk

{ for (i = 1; i <= NF; i = i + 1) sum = sum + $i }
END { print sum }