diff --git a/doc_src/cmds/read.rst b/doc_src/cmds/read.rst index 31b859956..bc2e2ae11 100644 --- a/doc_src/cmds/read.rst +++ b/doc_src/cmds/read.rst @@ -123,7 +123,7 @@ The following code stores the value 'hello' in the shell variable :envvar:`foo`. :: - echo hello|read foo + echo hello | read foo The :doc:`while ` command is a neat way to handle command output line-by-line::