diff options
Diffstat (limited to 'doc_src/while.txt')
-rw-r--r-- | doc_src/while.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc_src/while.txt b/doc_src/while.txt index 80ec959b..3de3f54a 100644 --- a/doc_src/while.txt +++ b/doc_src/while.txt @@ -18,6 +18,7 @@ complex control can be achieved with `while true` containing a \subsection while-example Example -`while test -f foo.txt; echo file exists; sleep 10; end` -outputs 'file exists' at 10 second intervals as long as -the file foo.txt exists. +\fish +while test -f foo.txt; echo file exists; sleep 10; end +# outputs 'file exists' at 10 second intervals as long as the file foo.txt exists. +\endfish
\ No newline at end of file |