aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/read.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/read.txt
parentd7308fecbe573aad91fc6f1377c1ed2df735f6fd (diff)
Make line length, wrapping and spacing consistent
Diffstat (limited to 'doc_src/read.txt')
-rw-r--r--doc_src/read.txt9
1 files changed, 4 insertions, 5 deletions
diff --git a/doc_src/read.txt b/doc_src/read.txt
index f29e98ed..4fce7d54 100644
--- a/doc_src/read.txt
+++ b/doc_src/read.txt
@@ -7,8 +7,7 @@ read [OPTIONS] [VARIABLES...]
\subsection read-description Description
-`read` reads one line from standard
-input and stores the result in one or more shell variables.
+`read` reads one line from standard input and stores the result in one or more shell variables.
The following options are available:
@@ -33,12 +32,12 @@ input is considered a separate token.
If \c -a or \c --array is provided, only one variable name is allowed and the
tokens are stored as an array in this variable.
-See the documentation for `set` for more details on the scoping rules for
-variables.
\subsection read-example Example
The following code stores the value 'hello' in the shell variable
`$foo`.
-`echo hello|read foo`
+\fish
+echo hello|read foo
+\endfish