Go to the previous, next section.

Arithmetic Builtins

let
let expression [expression]
The let builtin allows arithmetic to be performed on shell variables. Each expression is evaluated according to the rules given previously (see section Arithmetic Evaluation). If the last expression evaluates to 0, let returns 1; otherwise 0 is returned.

Go to the previous, next section.