diff -u ast/src/cmd/ksh93/ksh.1.orig ast/src/cmd/ksh93/ksh.1 // Ah yes, back to the man page again. The '\(bv' being used for the vertical // bar was fairly hard to see and you could not search the man page for '||'. // Changed the '\(bv' to '|'. FWIW - "groff_char(7)" implies '|' is okay. // There is at least one '|\||' that might need to be changed to '||'. // There's also one typo fix. Saw another one but cannot find it again. --- ast/src/cmd/ksh93/ksh.1.orig 2018-09-03 05:33:48.188021300 -0400 +++ ast/src/cmd/ksh93/ksh.1 2018-09-04 02:13:50.799842300 -0400 @@ -93,7 +93,7 @@ is one of the following characters: .PP .RS -\f3; & ( ) \(bv < > new-line space tab\fP +\f3; & ( ) | < > new-line space tab\fP .RE .PP A @@ -184,7 +184,7 @@ is a sequence of one or more .I commands\^ separated by -.BR \(bv . +.BR | . The standard output of each command but the last is connected by a .IR pipe (2) @@ -211,29 +211,29 @@ separated by .BR ; , .BR & , -.BR \(bv& , +.BR |& , .BR && , or -.BR \(bv\|\(bv , +.BR |\|| , and optionally terminated by .BR ; , .BR & , or -.BR \(bv& . +.BR |& . Of these five symbols, .BR ; , .BR & , and -.B \(bv& +.B |& have equal precedence, which is lower than that of .B && and -.BR \(bv\|\(bv . +.BR |\|| . The symbols .B && and -.B \(bv\|\(bv +.B |\|| also have equal precedence. A semicolon .RB ( ; ) @@ -243,7 +243,7 @@ .I not\^ wait for that pipeline to finish). The symbol -.B \(bv& +.B |& causes asynchronous execution of the preceding pipeline with a two-way pipe established to the parent shell; the standard input and output of the spawned pipeline @@ -265,7 +265,7 @@ described later. The symbol .B && -.RB (\| \(bv\|\(bv \^) +.RB (\| |\|| \^) causes the .I list\^ following it to be executed only if the preceding @@ -408,7 +408,7 @@ .B PS3 prompt for the next selection. .TP -\f3case\fP \f2word\^\fP \f3in\fP \*(OK \*(OK\f3(\fP\*(CK\f2pattern\^\fP \*(OK \(bv \f2pattern\^\fP \*(CK .\|.\|. \f3)\fP \f2list\^\fP \f3;;\fP \*(CK .\|.\|. \f3esac\fP +\f3case\fP \f2word\^\fP \f3in\fP \*(OK \*(OK\f3(\fP\*(CK\f2pattern\^\fP \*(OK | \f2pattern\^\fP \*(CK .\|.\|. \f3)\fP \f2list\^\fP \f3;;\fP \*(CK .\|.\|. \f3esac\fP A .B case command executes the @@ -2647,11 +2647,11 @@ with a .B & or -.BR \(bv . +.BR | . A .B & signifies that all patterns must be matched whereas -.BR \(bv +.BR | requires that only one pattern be matched. Composite patterns can be formed with one or more of the following sub-patterns: .PD 0 @@ -2728,7 +2728,7 @@ is a two character sequence which cannot contain .B & or -.BR \(bv . +.BR | . The first .I pattern-pair\^ specifies the starting and ending characters for the match. @@ -3542,7 +3542,7 @@ .I expression2\^ are both true. .TP -\f2expression1\fP \f3\(bv\(bv\fP \f2expression2\fP +\f2expression1\fP \f3||\fP \f2expression2\fP True, if either .I expression1\^ or @@ -4638,7 +4638,7 @@ When applied to the first word on the line, or the first word after a .BR ; , -.BR \(bv , +.BR | , .BR & , or .BR ( , @@ -5305,7 +5305,7 @@ [\f2count\fP]\f3B\fP Cursor to preceding blank separated word. .TP 10 -[\f2count\fP]\f3\(bv\fP +[\f2count\fP]\f3|\fP Cursor to column .IR count . .TP 10 @@ -6621,7 +6621,7 @@ option causes the arguments to be written onto the pipe of the process spawned with -.B \(bv& +.B |& instead of standard output. The .B \-v @@ -6935,7 +6935,7 @@ to be taken from the input pipe of a process spawned by the shell using -.BR \(bv& . +.BR |& . If the .B \-s option is present, @@ -7053,7 +7053,7 @@ from truncating existing files. Files that are created are opened with the O_EXCL mode. Requires -.B >\(bv +.B >| to truncate a file when turned on. .TP 8 .B \-G @@ -7087,7 +7087,7 @@ .TP 8 .B \-e Unless contained in a -.B \(bv\(bv +.B || or .B && command, or the command following an @@ -7291,8 +7291,8 @@ Sort the positional parameters lexicographically. When used with .B \-A -.TP 8 sorts the elements of the array. +.TP 8 .B \-t (Obsolete). Exit after reading and executing one command. .TP 8 @@ -8010,7 +8010,7 @@ value. Otherwise, the mask is printed in octal. The \-p -option cause the output to be in a form that can be use for reinput. +option causes the output to be in a form that can be use for reinput. .TP \(dg \f3unalias\fP \*(OK \f3\-a\fP \*(CK \f2name\^\fP .\|.\|. The aliases @@ -8470,7 +8470,7 @@ Some very old shell scripts contain a .B ^ as a synonym for the pipe character -.BR \(bv . +.BR | . .PP Using the .B hist\^