From 376585143243e2184770d30c73351378738d745a Mon Sep 17 00:00:00 2001 From: tg Date: Wed, 22 Apr 2009 16:25:12 +0000 Subject: [PATCH] =?UTF-8?q?address=20RedHat=20BZ#496791:=20fix=20currently?= =?UTF-8?q?=20not=20possible,=20because=20the=20code=20which=20escapes=20$?= =?UTF-8?q?(=E2=80=A6)=20content=20does=20not=20know=20if=20an=20imbedded?= =?UTF-8?q?=20=E2=80=98#=E2=80=99=20is=20a=20comment=20leader=20or=20somet?= =?UTF-8?q?hing=20else=20like=20=E2=80=9C16#foo=E2=80=9D,=20=E2=80=9C${#bl?= =?UTF-8?q?a[*]}=E2=80=9D,=20=E2=80=9C${foo#bar}=E2=80=9D,=20&c.=20and=20t?= =?UTF-8?q?he=20comment=20skip=20code=20does=20not=20know=20about=20nestin?= =?UTF-8?q?g=20beforehand=20=E2=87=92=20document=20this=20problem=20in=20t?= =?UTF-8?q?he=20place=20where=20it=20already=20documents=20that=20=20=20th?= =?UTF-8?q?e=20current=20code=20does=20not=20properly=20handle=20nested=20?= =?UTF-8?q?$($(=E2=80=A6))=20expressions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit patches welcome --- mksh.1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mksh.1 b/mksh.1 index fa7e17d..c226ae6 100644 --- a/mksh.1 +++ b/mksh.1 @@ -1,4 +1,4 @@ -.\" $MirOS: src/bin/mksh/mksh.1,v 1.157 2009/04/07 21:23:28 tg Exp $ +.\" $MirOS: src/bin/mksh/mksh.1,v 1.158 2009/04/22 16:25:12 tg 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 @@ -30,7 +30,7 @@ .el .xD \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 .. .\"- -.Dd $Mdocdate: April 7 2009 $ +.Dd $Mdocdate: April 22 2009 $ .Dt MKSH 1 .Os MirBSD .Sh NAME @@ -1029,7 +1029,8 @@ but it is carried out more efficiently because no process is started. .Sy Note : .Pf $( Ns Ar command Ns \&) expressions are currently parsed by finding matching parentheses, -regardless of quoting. +regardless of quoting; comments containing quote characters are +not handled correctly. This should be fixed soon. .Pp Arithmetic substitutions are replaced by the value of the specified expression.