COHERENT manpages

This page displays the COHERENT manpage for break [Exit from shell construct].

List of available manpages
Index


break -- Command

Exit from shell construct
break [ n ]

The command break is used with  the shell to control how it performs loops.
It is analogous to the break keyword in C.

When it  is used without an  argument, break forces the  shell to exit from
the innermost current for, until, or while loop.  If used with an argument,
break exits from n levels of for, until, or while loops.

The shell executes break directly.

See Also

commands,
continue,
for,
ksh,
sh,
until,
while