From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 2236 invoked from network); 13 Jun 2021 16:53:11 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 13 Jun 2021 16:53:11 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1623603191; b=TdhhHohhxU9/tUyjxb2dge2iCglMvTfX9l4AzwxUSVgFBgKdtJKHmiOZexn6hrgHhicazfRHGo 2QORQJg6aOhodDnoPpGasBPFVvhAqxjo6cUdk/AXqOa2erNd1dVrPaDY+cXafYMHjDjX4wn0Ii ayYZObUp7b7LeOssPnk5IVisl18v5qTKx7BLYinNgutV5cnAxD2LUP8Sp5Xllb12Z1NPvSjDtx zQf0I7ePaoyVZ/APHxf+oopGWqZgsBjWh95/cmKR06cyNbOUr4085PKHd3Pr/bYecNR5rSHQ3E 5vaOpVkhF8fqLCklmevh2g9p4o8PpJ2X9grFx/yxAuXWjQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (know-smtprelay-omc-8.server.virginmedia.net) smtp.remote-ip=80.0.253.72; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1623603191; bh=S36Y0EgU6fzgMW87KDL1Es8LsOFCc+FcWnBgD9EPojw=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:MIME-Version:Content-Type: References:In-Reply-To:Date:To:From:Subject:Message-ID:DKIM-Signature: DKIM-Signature; b=jifAYi2JVgcA9OLOoCp/XEtieMcpM+UgIlWqLEGy3yGIOZGVCP6LO3nlI9bJxzJ/uhLe7m56jZ GWmFBKioGaN7useHdmIEhOh54rULQ71kIXX66+4tIeqCzhPBQ9efa+8TzgJ8MXJJ5Pc6/4MMea j7LrHE9RWLksF1WJK9HMbLErVN0BXY/glUn42QLNX6WQcU9lIIHF3ZGmS+BOI0D2vzO048XvRy 9ievehf/5P+PxoNeKFnb2Mu6QX+C8WZfPQ1IL/59Gmgv4/fOZr+6AzS0lhoLaxQ6cz/WElkm+x X2yxc0JljLkVMTO4Z7dQ0Pur7LxZPsXaxB7FaIrXZodl5w==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Mime-Version:Content-Type:References:In-Reply-To:Date:To:From:Subject: Message-ID:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=jd2j6z2uUSN98ADchbNKCNwR64vxUTRdUoMEf2Kr1SM=; b=aV77fWAoAfKju60KVOnK3Xsasw eYLvEiCKc0Wk0JlJU06uplobnQIgs5D1oNh08sCM2wsxfVdhXzPowYuGtViHqwzw7i4CJW6VXPyx0 YbhFuWtvuj2c4nsrhvAzCsTnLZ7+Zbjrc2iy2drKXZEeW+GtcYd1CqsrjbGfw0nZfGMQVowaEZC/g lnMDtXSQJYwXbzDXLZD+1ABOTuBsQEqbQ+AuQFZcsG+vhljC5ycgeyqMxFn4aGfyQHWS/jV6VcuGE dZoeDm5vqGYk+cUvgVTGoW0RSyucAtKOgE/Ngt/UJ1qFqmlHHEqPKCszsYU/4uKLo2ZUD5V80wkn4 2Tg0JMlQ==; Received: from authenticated user by zero.zsh.org with local id 1lsTMB-000LkS-65; Sun, 13 Jun 2021 16:53:07 +0000 Authentication-Results: zsh.org; iprev=pass (know-smtprelay-omc-8.server.virginmedia.net) smtp.remote-ip=80.0.253.72; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none Received: from know-smtprelay-omc-8.server.virginmedia.net ([80.0.253.72]:33900) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1lsTKl-000LPE-Jz; Sun, 13 Jun 2021 16:51:40 +0000 Received: from pws-Zeus ([86.7.189.51]) by cmsmtp with ESMTPA id sTKklpOdKQAbnsTKklwK45; Sun, 13 Jun 2021 17:51:38 +0100 X-Originating-IP: [86.7.189.51] X-Authenticated-User: p.w.stephenson@ntlworld.com X-Spam: 0 X-Authority: v=2.3 cv=W6IWqyek c=1 sm=1 tr=0 cx=a_exe a=mDzK/eG20+r+ucIvzJc7BQ==:117 a=mDzK/eG20+r+ucIvzJc7BQ==:17 a=IkcTkHD0fZMA:10 a=NLZqzBF-AAAA:8 a=DPrCWyz2hNkqAAeTwcUA:9 a=QEXdDO2ut3YA:10 a=wW_WBVUImv98JQXhvVPZ:22 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ntlworld.com; s=meg.feb2017; t=1623603098; bh=jd2j6z2uUSN98ADchbNKCNwR64vxUTRdUoMEf2Kr1SM=; h=Subject:From:To:Date:In-Reply-To:References; b=u7HwNFrsADw005JgHBMNGupiwZSMwdnv15tLVXBJ2tmnLWwXa+J3/P234e4kTvlyq iobRQ9A1uvTpYtEcgePaso7VdOtE7wNVV88Hqwg/0BsqT8zU+z2c7x7xIg19ZUevZC vwSjP6y50Ck5acoy0h3tBoxsaiYxlE5HSO4A5VZaTypW52BD26xbsFpKeBq7chHUBd 0MvXZ2swWkSZirttJIOgYjLPs764EyQmshAp3b/mxNvSLlSL9WTB4/HDYCy5lIGFEP P6zIby9az/qEU3PxbFHisSvEN0Fn5dbaiw8YbffhWcf7QklEr6tVSDsDHwbshRObRk ci4YrXo0QFl6A== Message-ID: <6030724c6ec1e5ebdd51f5c85889b72faa6dd93a.camel@ntlworld.com> Subject: Re: [PATCH (not final)] (take three?) unset "array[$anything]" From: Peter Stephenson To: zsh-workers@zsh.org Date: Sun, 13 Jun 2021 17:51:38 +0100 In-Reply-To: References: <20210601053235.b4junj6muuwegl7b@chazelas.org> <20210602091145.xvyymjxdors6kqya@chazelas.org> <20210602142005.b5tw2hj2c6q3psqv@chazelas.org> <1629605749.599911.1622710481163@mail2.virginmedia.com> <20210603131347.i7bv7ao7j3hk3a2e@chazelas.org> <1005646394.611235.1622731315969@mail2.virginmedia.com> <6329352197c60d24bd605f329f8e613af63f76df.camel@ntlworld.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfBLD86EpfSGosOdo/qzlcUXeSIapjofOtdtBjJY34yNRzf5/qBDt2y/XybyaoLOKlzTleEMuaLOP1HxtaNdRWPUAowBKnA/D83q2WgJHMb1QJEmHO2B3 8c4GKWot6Z9/oKokbR2MjH8tcE1hoslz9shZ1FHw4tFSAg4TN/d7Nfdb X-Seq: 49063 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On Wed, 2021-06-09 at 16:31 -0700, Bart Schaefer wrote: > On Sat, Jun 5, 2021 at 11:18 AM Peter Stephenson > wrote: > > > > On Fri, 2021-06-04 at 12:25 -0700, Bart Schaefer wrote: > > > On Thu, Jun 3, 2021 at 7:42 AM Peter Stephenson > > > wrote: > > > > > > > > assemble a table of how they're handled now and with the > > > > two most promising proposed fixes. > > > > > > Are the samples I posted in workers/49005 adequate? > > > > Looks very much like what's needed. Thanks. > > How do we make the call on what to do, then? > > The cases literal fails on are, as might be expected, those in which > the workaround adds extra backslashes. Stripquote works for most of > those because it peels the extra backslash off again ... but that's > exactly the behavior which Stephane points out "otherwise serves no > purpose". > > I still feel literal is the best option despite potentially breaking > more workarounds, because it means the workarounds can just be removed > rather than modified. I don't have a killer argument, but what you just said sounds like the best we've got, so I'd certainly be happy to vote for that, in the absence of a magic wand. I'm wondering about something we could do that would ease the transition, but I think I've convinced myeelf that just adds yet more unwanted complexity. pws