mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08:00
Docs: correct small grammatical error in read.rst
This commit is contained in:
parent
ed881bcdd8
commit
c56f9e1981
@ -106,7 +106,7 @@ The following code stores the value 'hello' in the shell variable :envvar:`foo`.
|
|||||||
|
|
||||||
echo hello|read 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
|
printf '%s\n' line1 line2 line3 line4 | while read -l foo
|
||||||
echo "This is another line: $foo"
|
echo "This is another line: $foo"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user