< Previous | Contents | Next >
Arithmetic Evaluation And Expansion
We looked at arithmetic expansion in Chapter 7. It is used to perform various arithmetic operations on integers. Its basic form is:
$((expression))
where expression is a valid arithmetic expression.
This is related to the compound command (( )) used for arithmetic evaluation (truth tests) we encountered in Chapter 27.
In previous chapters, we saw some of the common types of expressions and operators. Here, we will look at a more complete list.