ref: b8837029c5565f5ee91fabf205f740a380f4c972 dir: /test/t.incr2/
{ s = 0 for (i=1; i <= NF; ) if ($(i) ~ /^[0-9]+$/) s += $(i++) else i++ print s }