mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 06:30:47 +08:00
4ba9ac28bb
darcs-hash:20060720133319-ac50b-ea71dc172f0c60de0d6f1effa2092ebb8d8ca2d9.gz
17 lines
548 B
Plaintext
17 lines
548 B
Plaintext
\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
|
|
begin; [COMMANDS...] end
|
|
</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 \c
|
|
while.
|
|
|
|
The \c end command does not change the current exit status.
|