give example
This commit is contained in:
7
mksh.1
7
mksh.1
@ -1,4 +1,4 @@
|
|||||||
.\" $MirOS: src/bin/mksh/mksh.1,v 1.152 2009/03/23 12:15:33 tg Exp $
|
.\" $MirOS: src/bin/mksh/mksh.1,v 1.153 2009/03/23 12:16:58 tg Exp $
|
||||||
.\" $OpenBSD: ksh.1,v 1.128 2009/03/06 12:28:36 jmc Exp $
|
.\" $OpenBSD: ksh.1,v 1.128 2009/03/06 12:28:36 jmc Exp $
|
||||||
.\"-
|
.\"-
|
||||||
.\" Try to make GNU groff and AT&T nroff more compatible
|
.\" Try to make GNU groff and AT&T nroff more compatible
|
||||||
@ -3860,7 +3860,10 @@ expr \-a expr Logical AND.
|
|||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Note that a number actually may be an arithmetic expression, such as
|
Note that a number actually may be an arithmetic expression, such as
|
||||||
a mathematical term or the name of an integer variable.
|
a mathematical term or the name of an integer variable:
|
||||||
|
.Bd -literal -offset indent
|
||||||
|
x=1; [ x -eq 1 ] evaluates to true
|
||||||
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Note that some special rules are applied (courtesy of POSIX)
|
Note that some special rules are applied (courtesy of POSIX)
|
||||||
if the number of
|
if the number of
|
||||||
|
Reference in New Issue
Block a user