fix working with ditroff on Schillix, confirmed by Jvrg

This commit is contained in:
tg 2016-02-11 19:00:50 +00:00
parent 7c58621bc7
commit 19ab699100
1 changed files with 12 additions and 10 deletions

22
mksh.1
View File

@ -1,4 +1,4 @@
.\" $MirOS: src/bin/mksh/mksh.1,v 1.388 2016/01/20 22:04:54 tg Exp $ .\" $MirOS: src/bin/mksh/mksh.1,v 1.389 2016/02/11 19:00:50 tg Exp $
.\" $OpenBSD: ksh.1,v 1.160 2015/07/04 13:27:04 feinerer Exp $ .\" $OpenBSD: ksh.1,v 1.160 2015/07/04 13:27:04 feinerer Exp $
.\"- .\"-
.\" Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, .\" Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
@ -29,7 +29,9 @@
.\" * ^ is size-reduced and placed atop in groff, so use \*(ha .\" * ^ is size-reduced and placed atop in groff, so use \*(ha
.\" * \(en does not work in nroff, so use \*(en .\" * \(en does not work in nroff, so use \*(en
.\" * <>| are problematic, so redefine and use \*(Lt\*(Gt\*(Ba .\" * <>| are problematic, so redefine and use \*(Lt\*(Gt\*(Ba
.\" Also make sure to use \& especially with two-letter words. .\" Also make sure to use \& *before* a punctuation char that is to not
.\" be interpreted as punctuation, and especially with two-letter words
.\" but also (after) a period that does not end a sentence (“e.g.\&”).
.\" The section after the "doc" macropackage has been loaded contains .\" The section after the "doc" macropackage has been loaded contains
.\" additional code to convene between the UCB mdoc macropackage (and .\" additional code to convene between the UCB mdoc macropackage (and
.\" its variant as BSD mdoc in groff) and the GNU mdoc macropackage. .\" its variant as BSD mdoc in groff) and the GNU mdoc macropackage.
@ -74,7 +76,7 @@
.\" with -mandoc, it might implement .Mx itself, but we want to .\" with -mandoc, it might implement .Mx itself, but we want to
.\" use our own definition. And .Dd must come *first*, always. .\" use our own definition. And .Dd must come *first*, always.
.\" .\"
.Dd $Mdocdate: January 20 2016 $ .Dd $Mdocdate: February 11 2016 $
.\" .\"
.\" Check which macro package we use, and do other -mdoc setup. .\" Check which macro package we use, and do other -mdoc setup.
.\" .\"
@ -431,7 +433,7 @@ statements;
.Ql \&(( .. )) .Ql \&(( .. ))
is used in arithmetic expressions; is used in arithmetic expressions;
and lastly, and lastly,
.Ql \&( .. )\& .Ql \&( .. \&)
is used to create subshells. is used to create subshells.
.Pp .Pp
Whitespace and meta-characters can be quoted individually using a backslash Whitespace and meta-characters can be quoted individually using a backslash
@ -1943,7 +1945,7 @@ Time since the epoch, as returned by
formatted as decimal formatted as decimal
.Va tv_sec .Va tv_sec
followed by a dot followed by a dot
.Pq Sq .\& .Pq Sq \&.
and and
.Va tv_usec .Va tv_usec
padded to exactly six decimal digits. padded to exactly six decimal digits.
@ -3979,14 +3981,14 @@ becomes unusable, and directly calls
.Pp .Pp
.It Ic return Op Ar status .It Ic return Op Ar status
Returns from a function or Returns from a function or
.Ic .\& .Ic \&.
script, with exit status script, with exit status
.Ar status . .Ar status .
If no If no
.Ar status .Ar status
is given, the exit status of the last executed command is used. is given, the exit status of the last executed command is used.
If used outside of a function or If used outside of a function or
.Ic .\& .Ic \&.
script, it has the same effect as script, it has the same effect as
.Ic exit . .Ic exit .
Note that Note that
@ -3994,9 +3996,9 @@ Note that
treats both profile and treats both profile and
.Ev ENV .Ev ENV
files as files as
.Ic .\& .Ic \&.
scripts, while the original Korn shell only treats profiles as scripts, while the original Korn shell only treats profiles as
.Ic .\& .Ic \&.
scripts. scripts.
.Pp .Pp
.It Xo .It Xo
@ -4074,7 +4076,7 @@ explicitly tested by a shell construct such as
.Ic until , .Ic until ,
.Ic while , .Ic while ,
or or
.Ic !\& .Ic \&!
statements. statements.
For For
.Ic && .Ic &&