mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Docs: correct small grammatical error in read.rst
This commit is contained in:
parent
ed881bcdd8
commit
c56f9e1981
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