About
Let is a builtin command that evaluate an arithmetic expression.
Articles Related
Syntax
let arg [arg ...]
# equivalent to
((expression))
where:
- Each arg is an arithmetic expression to be evaluated
If:
- the last arg evaluates to 0, let returns 1;
- 0 is returned otherwise.