From c56f9e198174cd740eed200deac677e322cce1ce Mon Sep 17 00:00:00 2001 From: Pavel savchenko Date: Wed, 26 Jul 2023 08:03:18 +0100 Subject: [PATCH] Docs: correct small grammatical error in read.rst --- doc_src/cmds/read.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc_src/cmds/read.rst b/doc_src/cmds/read.rst index b26f92a81..ab19e063a 100644 --- a/doc_src/cmds/read.rst +++ b/doc_src/cmds/read.rst @@ -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 ` 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"