2005-09-20 21:31:55 +08:00
|
|
|
\section end end - end a block of commands.
|
|
|
|
|
|
|
|
\subsection end-synopsis Synopsis
|
|
|
|
<pre>for VARNAME in [VALUES...]; COMMANDS; end
|
|
|
|
if CONDITION; COMMAND_TRUE [else; COMMAND_FALSE] end
|
|
|
|
while CONDITION; COMMANDS; end
|
|
|
|
switch VALUE; [case [WILDCARD...]; [COMMANDS...];...] end
|
2006-06-04 07:15:17 +08:00
|
|
|
begin; [COMMANDS...] end
|
2005-09-20 21:31:55 +08:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
\subsection end-description Description
|
|
|
|
<tt>end</tt> ends a block of commands. For more information, read the
|
|
|
|
documentation for the block constructs, such as \c if, \c for and \
|
|
|
|
while.
|
2006-06-04 07:15:17 +08:00
|
|
|
|
2006-07-13 01:31:41 +08:00
|
|
|
The \c end command does not change the current exit status.
|