let i=0xAFFE works in ksh88 (/bin/ksh on Solaris), octals are special to us
This commit is contained in:
6
mksh.1
6
mksh.1
@ -1,4 +1,4 @@
|
|||||||
.\" $MirOS: src/bin/mksh/mksh.1,v 1.1 2005/05/23 03:06:09 tg Exp $
|
.\" $MirOS: src/bin/mksh/mksh.1,v 1.2 2005/05/23 13:44:13 tg Exp $
|
||||||
.\" $OpenBSD: ksh.1,v 1.98 2005/05/12 09:18:24 jmc Exp $
|
.\" $OpenBSD: ksh.1,v 1.98 2005/05/12 09:18:24 jmc Exp $
|
||||||
.\" $OpenBSD: sh.1tbl,v 1.53 2004/12/10 01:56:56 jaredy Exp $
|
.\" $OpenBSD: sh.1tbl,v 1.53 2004/12/10 01:56:56 jaredy Exp $
|
||||||
.\"
|
.\"
|
||||||
@ -2026,10 +2026,10 @@ integers may be prefixed with
|
|||||||
.Sq 0X
|
.Sq 0X
|
||||||
or
|
or
|
||||||
.Sq 0x
|
.Sq 0x
|
||||||
(specifying base 16)
|
(specifying base 16), similar to AT&T ksh,
|
||||||
or
|
or
|
||||||
.Sq 0
|
.Sq 0
|
||||||
(base 8)
|
(base 8), as an mksh extension,
|
||||||
in all forms of arithmetic expressions,
|
in all forms of arithmetic expressions,
|
||||||
except as numeric arguments to the
|
except as numeric arguments to the
|
||||||
.Ic test
|
.Ic test
|
||||||
|
Reference in New Issue
Block a user