awk/testdir/t.incr3

6 lines
58 B
Plaintext

{ s = 0
for (i=1; i <= NF; s += $(i++))
;
print s
}