On Friday 11 October 2002 12:24 pm, Lars Gullik Bjønnes wrote:
> |        num=`expr $num + 1`
>
> let num=$num+1
>
> ?? Wouldn't that be a bit more portable?

There's no 'let' in sh. The sh way is
        i=`expr $i + 1`

Angus

Reply via email to