MPE/iX Shell and Utilities Reference Manual, Vol 1

break(1) MPE/iX Shell and Utilities break(1)
NAME
break — exit from loop in shell script
SYNOPSIS
break [number]
DESCRIPTION
break exits from a for, select, until,orwhile loop in a shell script. If number is
given, break exits from the given number of enclosing loops. The default value of number is
1.
DIAGNOSTICS
break always exits with an exit status of zero.
Messages
Because this utility is built into the
MPE/iX Shell, see the sh(1) man page for a complete list of
error messages that you may receive when using it.
PORTABILITY
POSIX.2. x/OPEN Portability Guide 4.0.
break is a built-in command of the Bourne Shell and KornShell on
UNIX systems.
NOTE
MPE/iX Shell and Utilities implements break as a special built-in command of the shell.
SEE ALSO
continue(1), sh(1)
1-68 Commands and Utilities