diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-07-15 20:04:36 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-07-15 20:04:36 +0000 |
commit | ba114b670e004b0cf3d3c8ba6c6b8a7067cc685f (patch) | |
tree | d9257d6f450a4d5234ab30d8b83cd72d7e39fc75 /bin/ksh/ksh.1 | |
parent | 18d35aed3de76de0dd8e4704caada1978642070f (diff) |
When the first argument or arguments of a macro are opening delimiters
(parentheses and/or square brackets), both modern groff and mandoc first
output those leading delimiters as plain text, then start the macro scope
after these opening delimiters. This is similar to printing trailing
punctuation and trailing closing delimiters on a macro line outside and
after the macro scope. For example, ".Sq ( text )" is "(`text')",
not "`(text)'". Thus, we now need to quote leading opening delimiters
when we want them inside the macro scope.
These are the cases in src/bin.
"makes sense" jmc@
Diffstat (limited to 'bin/ksh/ksh.1')
-rw-r--r-- | bin/ksh/ksh.1 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1 index 0df0b61b94d..3b852493779 100644 --- a/bin/ksh/ksh.1 +++ b/bin/ksh/ksh.1 @@ -1,8 +1,8 @@ -.\" $OpenBSD: ksh.1,v 1.135 2010/07/12 16:26:45 jmc Exp $ +.\" $OpenBSD: ksh.1,v 1.136 2010/07/15 20:04:35 schwarze Exp $ .\" .\" Public Domain .\" -.Dd $Mdocdate: July 12 2010 $ +.Dd $Mdocdate: July 15 2010 $ .Dt KSH 1 .Os .Sh NAME @@ -211,7 +211,7 @@ characters (space, tab, and newline) or meta-characters .Ql \*(Gt , .Ql \*(Ba , .Ql \&; , -.Ql ( , +.Ql \&( , .Ql \&) , and .Ql & @@ -274,7 +274,7 @@ shell and must be quoted if they are to represent themselves: .Ql * , .Ql \&? , and -.Ql [ . +.Ql \&[ . The first three of these are the above mentioned quoting characters (see .Sx Quoting below); @@ -307,7 +307,7 @@ and finally, .Ql * , .Ql \&? , and -.Ql [ +.Ql \&[ are used in file name generation (see .Sx File name patterns below). @@ -496,7 +496,7 @@ and .Ql } are reserved words, not meta-characters. .It Xo case Ar word No in -.Oo Op ( +.Oo Op \&( .Ar \ pattern .Op \*(Ba Ar pattern .No ... No ) @@ -5157,7 +5157,7 @@ or follows one of the characters .Ql \&; , .Ql | , .Ql & , -.Ql ( , +.Ql \&( , or .Ql \&) , and does not contain a slash |