diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2022-09-13 20:26:27 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2022-09-13 20:26:27 +0000 |
commit | d826637974556e05f68c220692d8fd9b194fe152 (patch) | |
tree | 6f13e1e33369764bce123e06b54e39d675e6a6d8 /bin/ksh | |
parent | 13ce016f5c8aa37ba60bda17252574c309e16b5f (diff) |
== in [[ does pattern matching as well
OK millert
Diffstat (limited to 'bin/ksh')
-rw-r--r-- | bin/ksh/ksh.1 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1 index 2b29b0d7733..0e97b9b49a6 100644 --- a/bin/ksh/ksh.1 +++ b/bin/ksh/ksh.1 @@ -1,8 +1,8 @@ -.\" $OpenBSD: ksh.1,v 1.216 2022/03/31 17:27:14 naddy Exp $ +.\" $OpenBSD: ksh.1,v 1.217 2022/09/13 20:26:26 kn Exp $ .\" .\" Public Domain .\" -.Dd $Mdocdate: March 31 2022 $ +.Dd $Mdocdate: September 13 2022 $ .Dt KSH 1 .Os .Sh NAME @@ -745,9 +745,10 @@ Operators (e.g.\& must be unquoted. .It The second operand of the -.Sq != +.Sq = , +.Sq == and -.Sq = +.Sq != expressions are patterns (e.g. the comparison .Ic [[ foobar = f*r ]] succeeds). |