[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

testing, counting, & arithmetic in general



  Is this how I'm expected to do this type of operation in es?

    i=1
    while {test $i -le 10} {
        echo $i
        i=`{expr $i + 1}
    }


  I.e. use "/bin/test" for conditionals (where ~ and ~~ aren't
appropriate) and "/bin/expr" for arithmetic operations?


  -- gregoir