From ccf991486fa9e1d9a988d342bbe39d11d9690545 Mon Sep 17 00:00:00 2001 From: tg Date: Fri, 6 Jun 2014 23:50:22 +0000 Subject: [PATCH] =?UTF-8?q?doc=20issue=20(because=20no=20regression?= =?UTF-8?q?=E2=80=A6=20even=20if=20it=20works=20in=20ksh93):=2019:09=20=20I'm=20reading=20the=20following=20behavior=20as=20c?= =?UTF-8?q?ontrary=20to=20the=20documentation.=20Could=20someone=20clarify?= =?UTF-8?q?=3F=2019:09=20<=20nDuff>=20$=20words=5Fpat=3D'*@(cat|mice)*';?= =?UTF-8?q?=20[[=20'there=20is=20a=20{cat}'=20=3D=20$words=5Fpat=20]];=20e?= =?UTF-8?q?cho=20$=3F=2019:09=20<=20nDuff>=201=2019:09=20<=20nDuff>=20$=20?= =?UTF-8?q?[[=20'there=20is=20a=20{cat}'=20=3D=20*@(cat|mice)*=20]];=20ech?= =?UTF-8?q?o=20$=3F=2019:09=20<=20nDuff>=200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mksh.1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mksh.1 b/mksh.1 index a9275dd..776e790 100644 --- a/mksh.1 +++ b/mksh.1 @@ -1,4 +1,4 @@ -.\" $MirOS: src/bin/mksh/mksh.1,v 1.332 2014/03/07 22:47:49 tg Exp $ +.\" $MirOS: src/bin/mksh/mksh.1,v 1.333 2014/06/06 23:50:22 tg Exp $ .\" $OpenBSD: ksh.1,v 1.151 2014/01/28 14:16:59 jmc Exp $ .\"- .\" Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, @@ -74,7 +74,7 @@ .\" with -mandoc, it might implement .Mx itself, but we want to .\" use our own definition. And .Dd must come *first*, always. .\" -.Dd $Mdocdate: March 7 2014 $ +.Dd $Mdocdate: June 6 2014 $ .\" .\" Check which macro package we use, and do other -mdoc setup. .\" @@ -964,7 +964,7 @@ The second operand of the .Sq != and .Sq = -expressions are patterns (e.g. the comparison +expressions are a subset of patterns (e.g. the comparison .Ic \&[[ foobar = f*r ]] succeeds). This even works indirectly: @@ -976,6 +976,7 @@ $ [[ $bar = \&"$baz" ]]; echo $? .Pp Perhaps surprisingly, the first comparison succeeds, whereas the second doesn't. +This does not apply to all extglob metacharacters, currently. .El .El .Ss Quoting