aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/end.txt
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-06-04 09:15:17 +1000
committerGravatar axel <axel@liljencrantz.se>2006-06-04 09:15:17 +1000
commit6fd69bdda8b4d185fb636047ab8914989fc66252 (patch)
tree50883b516a46dec263490a0b20fb6319689e4956 /doc_src/end.txt
parenta85f4cc1c48052487b2c258cb01748597be927a5 (diff)
Many minor edits and clarifications to the documentation, including comments about the exit status of a few commands
darcs-hash:20060603231517-ac50b-03d252516eef21d4dd3a2ba0f5bb68e82525213b.gz
Diffstat (limited to 'doc_src/end.txt')
-rw-r--r--doc_src/end.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc_src/end.txt b/doc_src/end.txt
index 0385982b..b98aef82 100644
--- a/doc_src/end.txt
+++ b/doc_src/end.txt
@@ -5,9 +5,12 @@
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 \
while.
+
+The end command does not change the current exit status.