[EMAIL PROTECTED] wrote on 04/08/2004 01:45:23 PM: > This one time, at band camp, Voytek wrote: > >./awstatsproc: let: 08: value too great for base (error token is "08") > > > let i=i+1 > > done > > let j=j+1 > > don't use let > > i=$(($i + 1)) > Curiously, why not use let?
As bash(1) says: ((expression)) The expression is evaluated according to the rules described below under ARITHMETIC EVALUATION. If the value of the expression is non-zero, the return status is 0; otherwise the return status is 1. This is exactly equivalent to let "expression". Cheers, Scott -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
