June 2004
Intermediate to advanced
1056 pages
39h 58m
English
let
let
expressions
Perform arithmetic as specified by one or more integer
expressions.
expressions consist of numbers, operators,
and shell variables (which don’t need a preceding
$), and must be quoted if they contain spaces or other special
characters. For more information and examples, see Section 20.4. See also expr
in Chapter 28.
Both of the following examples add 1 to variable i:
let i=i+1let "i = i + 1"
Read now
Unlock full access