aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/for.txt
diff options
context:
space:
mode:
authorGravatar Mark Griffiths <mark@thebespokepixel.com>2014-08-19 13:41:23 +0100
committerGravatar Mark Griffiths <mark@thebespokepixel.com>2014-09-03 14:43:26 +0100
commit137abd0cfaa8959224f88a4ebe9584a51468cc88 (patch)
treec396f760a1e309b5a837359e65c57c4555534d49 /doc_src/for.txt
parentd7308fecbe573aad91fc6f1377c1ed2df735f6fd (diff)
Make line length, wrapping and spacing consistent
Diffstat (limited to 'doc_src/for.txt')
-rw-r--r--doc_src/for.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/doc_src/for.txt b/doc_src/for.txt
index c75f953c..15b28a25 100644
--- a/doc_src/for.txt
+++ b/doc_src/for.txt
@@ -6,12 +6,11 @@ for VARNAME in [VALUES...]; COMMANDS...; end
\endfish
\subsection for-description Description
-`for` is a loop construct. It will perform the commands specified by
-`COMMANDS` multiple times. On each iteration, the environment variable specified by
-`VARNAME` is assigned a new value from `VALUES`. If `VALUES` is empty, `COMMANDS` will
-not be executed at all.
+
+`for` is a loop construct. It will perform the commands specified by `COMMANDS` multiple times. On each iteration, the environment variable specified by `VARNAME` is assigned a new value from `VALUES`. If `VALUES` is empty, `COMMANDS` will not be executed at all.
\subsection for-example Example
+
\fish
for i in foo bar baz; echo $i; end
@@ -20,4 +19,3 @@ foo
bar
baz
\endfish
-