Cross Reference: t.incr2
xref
: /
netbsd-current
/
external
/
historical
/
nawk
/
dist
/
testdir
/
t.incr2
Home
History
Annotate
Line#
Navigate
Raw
Download
only in
/netbsd-current/external/historical/nawk/dist/testdir/
1
{ s = 0
2
for (i=1; i <= NF; )
3
if ($(i) ~ /^[0-9]+$/)
4
s += $(i++)
5
else
6
i++
7
print s
8
}
9