mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 01:17:45 +00:00
Docs: correct small grammatical error in read.rst
(cherry picked from commit c56f9e1981
)
This commit is contained in:
parent
f95b8470a2
commit
7c44f78490
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ The following code stores the value 'hello' in the shell variable :envvar:`foo`.
|
|||
|
||||
echo hello|read foo
|
||||
|
||||
While this is a neat way to handle command output line-by-line::
|
||||
The :doc:`while <while>` command is a neat way to handle command output line-by-line::
|
||||
|
||||
printf '%s\n' line1 line2 line3 line4 | while read -l foo
|
||||
echo "This is another line: $foo"
|
||||
|
|
Loading…
Reference in a new issue