4.4 Arithmetic ExpressionsThe Korn shell's let command performs integer arithmetic. The Korn shell provides a way to substitute integer values (for use as command arguments or in variables); base conversion is also possible:
4.4.1 OperatorsThe Korn shell uses arithmetic operators from the C programming language; they are listed below in decreasing order of precedence:
4.4.2 ExamplesSee the let command for more information and examples.
let "count=0" "i = i + 1" Assign |
|