June 2003
Beginner to intermediate
944 pages
43h 1m
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 7.4 earlier in this chapter. See also expr in Chapter 3.
Both of the following examples add 1 to variable i:
let i=i+1let "i = i + 1"
Read now
Unlock full access