summaryrefslogtreecommitdiff
path: root/bin/ksh/sh.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2016-05-04 08:31:01 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2016-05-04 08:31:01 +0000
commit7799261cca90c31177d000061abd733783efe345 (patch)
tree9eedf48483edfeb4b1b29cdcc841dcf7db4e46b5 /bin/ksh/sh.1
parentf5f0665feafcbdd586e9f1d292b74bfe0b6be801 (diff)
Correct the description of the != operator in arithmetic expansion;
from Andras Farkas <deepbluemistake at gmail dot com>.
Diffstat (limited to 'bin/ksh/sh.1')
-rw-r--r--bin/ksh/sh.14
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ksh/sh.1 b/bin/ksh/sh.1
index 4cf5c38bfee..217f3a7d762 100644
--- a/bin/ksh/sh.1
+++ b/bin/ksh/sh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sh.1,v 1.132 2016/05/04 06:20:42 jmc Exp $
+.\" $OpenBSD: sh.1,v 1.133 2016/05/04 08:31:00 schwarze Exp $
.\"
.\" Copyright (c) 2015 Jason McIntyre <jmc@openbsd.org>
.\"
@@ -1380,7 +1380,7 @@ greater than, and greater than or equal to, respectively.
The result is 1 if true, or 0 otherwise.
.It == !=
Equal (the result is 1 if both arguments are equal, and 0 otherwise)
-and not equal (the result is 1 if both arguments are non-zero, and 0 otherwise),
+and not equal (the result is 0 if both arguments are equal, and 1 otherwise),
respectively.
.It &
Bitwise AND.