Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

let(1) OSS Shell and Utilities Reference Manual
NAME
let - Evaluates arithmetic expressions
SYNOPSIS
let argument ...
DESCRIPTION
The let command evaluates each argument as a separate arithmetic expression. (See Arithmetic
Evaluation in the reference page for sh.1 for a description of arithmetic expression evaluation.)
EXIT VALUES
The exit status is 0 (zero) if the value of the last expression is nonzero, and 1 otherwise.
EXAMPLES
The statement let x=y+z is equivalent to the statement (x=y+z).
NOTES
The let command is a shell built-in command. It differs from the regular commands in that it does
not open a new shell process when it executes.
A general discussion of shell built-in commands and a list of the OSS shell built-in commands
are in the reference page for sh(1).
RELATED INFORMATION
Commands: sh(1).
548 Hewlett-Packard Company 527188-003