From 3012020af32f9c851785492f462fb40396633b04 Mon Sep 17 00:00:00 2001 From: Ambrose Bonnaire-Sergeant Date: Wed, 4 Dec 2024 13:13:00 -0600 Subject: [PATCH] doc: expand &| reference to full example (#10885) * doc: expand &| reference to full example * feedback --- doc_src/language.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc_src/language.rst b/doc_src/language.rst index a77b620be..7f1cc37d8 100644 --- a/doc_src/language.rst +++ b/doc_src/language.rst @@ -266,8 +266,9 @@ Consider this helper function:: Now let's see a few cases:: # Redirect both stderr and stdout to less - # (can also be spelt as `&|`) print 2>&1 | less + # or + print &| less # Show the "out" on stderr, silence the "err" print >&2 2>/dev/null