L. Ahmadi schrieb: > Hi, > > If you want to use /bin/sh, it works well if you replace > > ((i=i+1)) by > let i=i+1
Or use I=$((I+1)) which works in sh/ksh/bash and should be pretty universal. - Michael
L. Ahmadi schrieb: > Hi, > > If you want to use /bin/sh, it works well if you replace > > ((i=i+1)) by > let i=i+1
Or use I=$((I+1)) which works in sh/ksh/bash and should be pretty universal. - Michael