fixes
This commit is contained in:
parent
b58ff810a5
commit
bb7226277b
2
check.t
2
check.t
@ -1,4 +1,4 @@
|
|||||||
# $MirOS: src/bin/mksh/check.t,v 1.749 2016/08/04 20:51:32 tg Exp $
|
# $MirOS: src/bin/mksh/check.t,v 1.750 2016/08/10 18:20:03 tg Exp $
|
||||||
# -*- mode: sh -*-
|
# -*- mode: sh -*-
|
||||||
#-
|
#-
|
||||||
# Copyright © 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
# Copyright © 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||||
|
7
lksh.1
7
lksh.1
@ -1,4 +1,4 @@
|
|||||||
.\" $MirOS: src/bin/mksh/lksh.1,v 1.17 2016/02/11 20:12:09 tg Exp $
|
.\" $MirOS: src/bin/mksh/lksh.1,v 1.18 2016/08/10 18:20:05 tg Exp $
|
||||||
.\"-
|
.\"-
|
||||||
.\" Copyright (c) 2008, 2009, 2010, 2012, 2013, 2015, 2016
|
.\" Copyright (c) 2008, 2009, 2010, 2012, 2013, 2015, 2016
|
||||||
.\" mirabilos <m@mirbsd.org>
|
.\" mirabilos <m@mirbsd.org>
|
||||||
@ -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: February 11 2016 $
|
.Dd $Mdocdate: August 10 2016 $
|
||||||
.\"
|
.\"
|
||||||
.\" Check which macro package we use, and do other -mdoc setup.
|
.\" Check which macro package we use, and do other -mdoc setup.
|
||||||
.\"
|
.\"
|
||||||
@ -241,9 +241,6 @@ Division of the largest negative number by \-1 is Undefined Behaviour.
|
|||||||
The compiler is permitted to delete all data and crash the system
|
The compiler is permitted to delete all data and crash the system
|
||||||
if Undefined Behaviour occurs (see above for an example).
|
if Undefined Behaviour occurs (see above for an example).
|
||||||
.It
|
.It
|
||||||
.Nm
|
|
||||||
only offers the traditional ten file descriptors to scripts.
|
|
||||||
.It
|
|
||||||
.\"XXX TODO: move this to FPOSIX
|
.\"XXX TODO: move this to FPOSIX
|
||||||
The rotation arithmetic operators are not available.
|
The rotation arithmetic operators are not available.
|
||||||
.It
|
.It
|
||||||
|
39
mksh.1
39
mksh.1
@ -1,4 +1,4 @@
|
|||||||
.\" $MirOS: src/bin/mksh/mksh.1,v 1.412 2016/08/10 18:15:18 tg Exp $
|
.\" $MirOS: src/bin/mksh/mksh.1,v 1.413 2016/08/10 18:20:05 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,
|
||||||
@ -2681,10 +2681,11 @@ Additionally, base-16 integers may be specified by prefixing them with
|
|||||||
.Pq case-insensitive
|
.Pq case-insensitive
|
||||||
in all forms of arithmetic expressions, except as numeric arguments to the
|
in all forms of arithmetic expressions, except as numeric arguments to the
|
||||||
.Ic test
|
.Ic test
|
||||||
built-in command.
|
built-in utility.
|
||||||
Prefixing numbers with a sole digit zero
|
Prefixing numbers with a sole digit zero
|
||||||
.Pq Sq 0
|
.Pq Sq 0
|
||||||
does not cause interpretation as octal, as that's unsafe to do.
|
does not cause interpretation as octal (except in POSIX mode,
|
||||||
|
as required by the standard), as that's unsafe to do.
|
||||||
.Pp
|
.Pp
|
||||||
As a special
|
As a special
|
||||||
.Nm mksh
|
.Nm mksh
|
||||||
@ -5424,7 +5425,7 @@ The
|
|||||||
builtin does not interpret backslashes and only supports the exact option
|
builtin does not interpret backslashes and only supports the exact option
|
||||||
.Dq Fl n .
|
.Dq Fl n .
|
||||||
.It
|
.It
|
||||||
\&... (list is incomplete and may change for R53)
|
\&... (list is incomplete and may change for R54)
|
||||||
.El
|
.El
|
||||||
.Ss SH mode
|
.Ss SH mode
|
||||||
Compatibility mode; intended for use with legacy scripts that
|
Compatibility mode; intended for use with legacy scripts that
|
||||||
@ -5445,7 +5446,35 @@ The
|
|||||||
builtin does not interpret backslashes and only supports the exact option
|
builtin does not interpret backslashes and only supports the exact option
|
||||||
.Dq Fl n .
|
.Dq Fl n .
|
||||||
.It
|
.It
|
||||||
\&... (list is incomplete and may change for R53)
|
The substitution operations
|
||||||
|
.Sm off
|
||||||
|
.Xo
|
||||||
|
.Pf ${ Ar x
|
||||||
|
.Pf # Ar pat No } ,
|
||||||
|
.Sm on
|
||||||
|
.Xc
|
||||||
|
.Sm off
|
||||||
|
.Xo
|
||||||
|
.Pf ${ Ar x
|
||||||
|
.Pf ## Ar pat No } ,
|
||||||
|
.Sm on
|
||||||
|
.Xc
|
||||||
|
.Sm off
|
||||||
|
.Xo
|
||||||
|
.Pf ${ Ar x
|
||||||
|
.Pf % Ar pat No } ,
|
||||||
|
.Sm on
|
||||||
|
.Xc
|
||||||
|
and
|
||||||
|
.Sm off
|
||||||
|
.Xo
|
||||||
|
.Pf ${ Ar x
|
||||||
|
.Pf %% Ar pat No }
|
||||||
|
.Sm on
|
||||||
|
.Xc
|
||||||
|
wrongly do not require a parenthesis to be escaped and do not parse extglobs.
|
||||||
|
.It
|
||||||
|
\&... (list is incomplete and may change for R54)
|
||||||
.El
|
.El
|
||||||
.Ss Interactive input line editing
|
.Ss Interactive input line editing
|
||||||
The shell supports three modes of reading command lines from a
|
The shell supports three modes of reading command lines from a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user