Module Name: src
Committed By: uwe
Date: Tue Mar 13 20:08:11 UTC 2018
Standalone | means \[ba] while we want \[or] so add \& protection to
the few places where it was missing.
To generate a diff of this commit:
cvs rdiff -u -r1.178 -r1.179 src/bin/sh/sh.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diff -u src/bin/sh/sh.1:1.178 src/bin/sh/sh.1:1.179
--- src/bin/sh/sh.1:1.178 Tue Mar 13 19:43:52 2018
+++ src/bin/sh/sh.1 Tue Mar 13 20:08:11 2018
@@ -1,4 +1,4 @@
-.\" $NetBSD: sh.1,v 1.178 2018/03/13 19:43:52 uwe Exp $
+.\" $NetBSD: sh.1,v 1.179 2018/03/13 20:08:11 uwe Exp $
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -550,7 +550,7 @@ operators (their meaning is discussed la
The following is a list of operators:
.Bl -ohang -offset indent
.It "Control operators:"
-.Dl & && \&( \&) \&; ;; ;& | || <newline>
+.Dl & && \&( \&) \&; ;; ;& \&| || <newline>
.It "Redirection operators:"
.Dl < > >| << >> <& >& <<- <>
@@ -1081,7 +1081,7 @@ as is the standard input of the first co
The format for a pipeline is:
-.Dl [!] command1 [ | command2 ...]
+.Dl [!] command1 [ \&| command2 ...]
The standard output of command1 is connected to the standard input of
@@ -1120,7 +1120,7 @@ Because pipeline assignment of standard
takes place before redirection, it can be modified by redirection.
-.Dl $ command1 2>&1 | command2
+.Dl $ command1 2>&1 \&| command2
sends both the standard output and standard error of command1
to the standard input of command2.