Shell programming constructs
The shell programming language has
several constructs that give added
flexibility to your programs:
let you document
the function of a program.
allows you to include,
within the shell program itself,
lines to be redirected
as input to some command in the shell program.
lets you terminate a program at a point other
than the end of the program and use return codes.
constructs, for and while,
allow a program to iterate
through groups of commands in a loop.
execute a group of commands
only if a particular set of conditions is met.
command allows a program
to exit unconditionally from a loop.
Assigning values with positional parameters
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004