sync clog

This commit is contained in:
tg 2015-03-21 00:12:46 +00:00
parent 07898d8a45
commit 0620a5d034
2 changed files with 10 additions and 9 deletions

11
lksh.1

@ -1,4 +1,4 @@
.\" $MirOS: src/bin/mksh/lksh.1,v 1.7 2015/03/20 23:37:54 tg Exp $ .\" $MirOS: src/bin/mksh/lksh.1,v 1.8 2015/03/21 00:12:46 tg Exp $
.\"- .\"-
.\" Copyright (c) 2008, 2009, 2010, 2012, 2013, 2015 .\" Copyright (c) 2008, 2009, 2010, 2012, 2013, 2015
.\" Thorsten “mirabilos” Glaser <tg@mirbsd.org> .\" Thorsten “mirabilos” Glaser <tg@mirbsd.org>
@ -72,7 +72,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: March 20 2015 $ .Dd $Mdocdate: March 21 2015 $
.\" .\"
.\" Check which macro package we use, and do other -mdoc setup. .\" Check which macro package we use, and do other -mdoc setup.
.\" .\"
@ -175,7 +175,7 @@ instead of relying on legacy or idiotic POSIX-mandated behaviour,
since the MirBSD Korn Shell scripting language is much more consistent. since the MirBSD Korn Shell scripting language is much more consistent.
.Sh LEGACY MODE .Sh LEGACY MODE
.Nm .Nm
has the following differences from currently has the following differences from
.Nm mksh : .Nm mksh :
.Bl -bullet .Bl -bullet
.It .It
@ -195,6 +195,11 @@ as
.Dq LEGACY KSH .Dq LEGACY KSH
instead of instead of
.Dq MIRBSD KSH . .Dq MIRBSD KSH .
Note that the rest of the version string is identical between
the two shell flavours, and the behaviour and differences can
change between versions; see the accompanying manual page
.Xr mksh 1
for the versions this document applies to.
.It .It
.Nm .Nm
only offers the traditional ten file descriptors to scripts. only offers the traditional ten file descriptors to scripts.

8
mksh.1

@ -1,4 +1,4 @@
.\" $MirOS: src/bin/mksh/mksh.1,v 1.356 2015/03/20 21:23:52 tg Exp $ .\" $MirOS: src/bin/mksh/mksh.1,v 1.357 2015/03/21 00:12:46 tg Exp $
.\" $OpenBSD: ksh.1,v 1.158 2015/03/15 14:33:21 jmc Exp $ .\" $OpenBSD: ksh.1,v 1.158 2015/03/15 14:33:21 jmc Exp $
.\"- .\"-
.\" Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, .\" Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
@ -74,7 +74,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: March 20 2015 $ .Dd $Mdocdate: March 21 2015 $
.\" .\"
.\" Check which macro package we use, and do other -mdoc setup. .\" Check which macro package we use, and do other -mdoc setup.
.\" .\"
@ -2903,10 +2903,6 @@ untouched, so using
inside a function interferes with using inside a function interferes with using
.Ic getopts .Ic getopts
outside the function). outside the function).
.It
Bourne-style function definitions take precedence over alias dereferences
and remove alias definitions upon encounter, while aliases take precedence
over Korn-style functions.
.El .El
.Pp .Pp
In the future, the following differences may also be added: In the future, the following differences may also be added: