diff options
author | Grissiom <chaos.proton@gmail.com> | 2010-09-18 10:18:26 +0800 |
---|---|---|
committer | Grissiom <chaos.proton@gmail.com> | 2010-09-18 10:18:26 +0800 |
commit | 70322077d21ae38bbe503d88e9e4d73ec883a493 (patch) | |
tree | d64024c9dde752818a35f865f910e413d8935579 /doc_src/if.txt | |
parent | f529b2e05725cba0bf9da3ee0feb0b7e3ef2fa5a (diff) |
remove trialing spaces #2
Diffstat (limited to 'doc_src/if.txt')
-rw-r--r-- | doc_src/if.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc_src/if.txt b/doc_src/if.txt index dbbd378f..afad5384 100644 --- a/doc_src/if.txt +++ b/doc_src/if.txt @@ -8,7 +8,7 @@ <tt>if</tt> will execute the command CONDITION. If the condition's exit status is 0, the commands COMMANDS_TRUE will execute. If the exit status is not 0 and <tt>else</tt> is given, COMMANDS_FALSE will -be executed. +be executed. In order to use the exit status of multiple commands as the condition of an if block, use <a href="#begin"><tt>begin; ...; end</tt></a> and @@ -29,5 +29,5 @@ else end </pre> will print <tt>foo.txt exists</tt> if the file foo.txt -exists and is a regular file, otherwise it will print +exists and is a regular file, otherwise it will print <tt>foo.txt does not exist</tt>. |