From 137abd0cfaa8959224f88a4ebe9584a51468cc88 Mon Sep 17 00:00:00 2001 From: Mark Griffiths Date: Tue, 19 Aug 2014 13:41:23 +0100 Subject: Make line length, wrapping and spacing consistent --- doc_src/else.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc_src/else.txt') diff --git a/doc_src/else.txt b/doc_src/else.txt index a22cfcdb..76e0c61f 100644 --- a/doc_src/else.txt +++ b/doc_src/else.txt @@ -6,13 +6,13 @@ if CONDITION; COMMANDS_TRUE...; [else; COMMANDS_FALSE...;] end \endfish \subsection else-description Description -`if` will execute the command `CONDITION`. If the condition's exit -status is 0, the commands `COMMANDS_TRUE` will execute. If it is not 0 and -`else` is given, `COMMANDS_FALSE` will be executed. + +`if` will execute the command `CONDITION`. If the condition's exit status is 0, the commands `COMMANDS_TRUE` will execute. If it is not 0 and `else` is given, `COMMANDS_FALSE` will be executed. + \subsection else-example Example -The following code tests whether a file `foo`.txt exists as a regular file. +The following code tests whether a file `foo.txt` exists as a regular file. \fish if test -f foo.txt -- cgit v1.2.3