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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 24950 invoked from network); 12 Sep 2023 20:25:04 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 12 Sep 2023 20:25:04 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1694550304; b=MNETVbsz+0KijdjPb4yUWHmFEABqBgi5kG6VWYOm5qH+NgHUQehS35iJ+YGpz//xzJFnIl8q5/ Oi+hhZe5I3e9f1JPFN387JHF1lhHuwIWu8TyDFoRLPEwU5X6fcYpCbyeCeNAiJeYOz/ZAHs+ON viiPo+FLJCvkL4XYcKW0ipoKJr7O9qdDWzV1+KQDIA8p0mzRc2c4OajEXtRn1rBo8zZnI8hYzc cWf0hPwto7mQw3cQPyfhxHCAj8Bb8358kGe7C8W0WY+pt49TgZJlUne5XfkhUbsY0vOjhucuiT FyFEcf52flFJbp6iFpv3CVOq/Yh9Os7M2G47kMRe1fb3Jg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ej1-f43.google.com) smtp.remote-ip=209.85.218.43; dkim=pass header.d=brasslantern-com.20230601.gappssmtp.com header.s=20230601 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1694550304; bh=3fAoQlQA1qty248u93CbkNlGBBKP1m5xCxGYZ9ARj28=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Cc:To:Subject: Message-ID:Date:From:In-Reply-To:References:MIME-Version:DKIM-Signature: DKIM-Signature; b=HReeB7sn/nksFvWVc1JsIJ53hsU+WrF5tE5YlZfSlboDkH0tdaIn0dfpEUJ8FyQeEE9L0KDtuA dtyq9DrIU9nkj1xVmDVS7ia20jE12CX9WH5R1X6JFrlMze40q/DpITKboEUX5AWZT0iq0k12Ac ggDgW8aaiYe2BoxJqbTFMXje5BcpGcnMvlus8QAbw4Dm0JwrYiUguCALGOjLSdJrKbrcvY8V/D oEgYKWPcHPtt108IshJzvUsWo11EnTRKlaN3LchPmP7+IYZd6xhTxLjnAVRjwcJ7gC4QCrQQV6 DrnmLVN6JtwN4VBMK3zQdqtvMGLXg34JP4b3a3iAVV4DAg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=HLYRBOEXWsnY1plDzLEEgZeT9AIctg03KI8Nu2FY/hg=; b=JgqaVtFWxBFBKGkKV2fOwtzw85 eK6R+nMXN09pQyLVHIZiRsAW4JLsuDJ2sGj7b391/qn++X82Lrq8yT3YKcpt5YhDnCSDG6tTR2Mse bgseW6JQ4+zFGROwx5pLY80WaAWhE3Wid1jI9BOiwKAsO7hLP1HEtfAsIRM0sdvZ/VlUZoYqHKB9c lM24711EYxmFHEknkcJ/kZMlB5ejTyhcKWh1oA/FBGje8dT7CT0VMk592jqF5k5ErNjnbUSPtsDeF xl+P+Eda0KlztOujzuDU/quXP10lPSFw0VQpmYStK+hSESQHQ6Qm4gh9KMtKHeIBC/elI5TqwZqB0 3WUe7AMQ==; Received: by zero.zsh.org with local id 1qg9wW-0004VH-3j; Tue, 12 Sep 2023 20:25:04 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ej1-f43.google.com) smtp.remote-ip=209.85.218.43; dkim=pass header.d=brasslantern-com.20230601.gappssmtp.com header.s=20230601 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ej1-f43.google.com ([209.85.218.43]:50413) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1qg9vb-0003lp-Lo; Tue, 12 Sep 2023 20:24:08 +0000 Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-99bcf2de59cso770273566b.0 for ; Tue, 12 Sep 2023 13:24:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20230601.gappssmtp.com; s=20230601; t=1694550247; x=1695155047; darn=zsh.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=HLYRBOEXWsnY1plDzLEEgZeT9AIctg03KI8Nu2FY/hg=; b=pTYgUlHJpWPBgmOLxeCc514AcDxIYr+PRdzY6YiIBbFkouQA+3IkDaJ05LPJPEJmRz SlcLgyo0RzN04WLrYX5wNKsAklMDyvfpB/NM2UTaud4aNOmVL5Elug8ADQckqNyR78ZS /+roo3GG8kOJR1Q6cAbZFxOTcY441OtotE3pdK+AsK5eyV5DsIthqf6iCzl4KJjan37D WULZeNC9cptPyvjyzKqqPaEILvTNW6cpPrAolnUo1sfwYuboLE9O7/S1VPcA6BuXcppM KS0MpsJjL6BoAzJjui6YLNauMusUy59VzIzMHlz9VXSH+AsXhhhm+WWWFEuEMbo5eKYL 7FQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694550247; x=1695155047; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HLYRBOEXWsnY1plDzLEEgZeT9AIctg03KI8Nu2FY/hg=; b=AF4UfkTCwG4y/3BfGY3V85gJS8RZ+Rwsdu2ZKNle+vC3YVoqveiCuxvk3fooesjKjI M6m3HzogKF3aSL+sQRi8mrCWFGxLherDSy02LtQiOxU9b/toF1x1hzEzteOBjaJu6saL 66ukhaizj0mpGofyzcWbxEeJl0cGzkIJfJnkG2XSql6DNfZSXryrO4WSaJFxOziHvDGu 76Z4y9LW1VbO1yNYBPkhtnTaVYUTlbpTJP8wz6ohoDMYmgOz/AzSbx70wqRLhPB88ce4 m8cCmyiQTbSswxEja4VAJOeP2kMVwdggvC48H0tnaVp9L+yAgHZ6owZ7FCFQ+0rBURCO JgBQ== X-Gm-Message-State: AOJu0Yz9qJ3bf+GyUahS6ydx+P5Xsla49jcAQjWLy+FUIs3BjdOLt3lU /absvTsU7sbr2RxpRreoeteUG/iW1l3e2B23D99OVw== X-Google-Smtp-Source: AGHT+IHobz4LLjNl+xG+73YxT7oRgCf7YTozcLUk7zozYDOYP3orVXHA5K7NQ4b4V5m6ZF2ueRi305HB0DvSt21tJr8= X-Received: by 2002:a17:906:2182:b0:9a6:1eab:9c84 with SMTP id 2-20020a170906218200b009a61eab9c84mr298884eju.9.1694550247137; Tue, 12 Sep 2023 13:24:07 -0700 (PDT) MIME-Version: 1.0 References: <8218b46632e67c16b18187612d0b0d51491cd30b.camel@ntlworld.com> In-Reply-To: <8218b46632e67c16b18187612d0b0d51491cd30b.camel@ntlworld.com> From: Bart Schaefer Date: Tue, 12 Sep 2023 13:23:56 -0700 Message-ID: Subject: Re: quoting question To: Peter Stephenson Cc: zsh-users@zsh.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 29234 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: On Tue, Sep 12, 2023 at 1:08=E2=80=AFPM Peter Stephenson wrote: > > It looks like we're not couting brace pairs within quotes the way we do > outside. I suppose the reason for that is something along the lines of: > if we encounter a "{" inside quotes it=CA=BCs just a reguler character so > doesn=CA=BCt have a special syntax associated. But the inconvenience of > counting braces differently just because you=CA=BCve added double quotes = surely > outweighs that. I went to incredible lengths with the ${| ... } parsing to get around this very thing. Refer workers/51907 (https://www.zsh.org/mla/workers/2023/msg00636.html) for Mikael's argument of why this should NOT be changed. In any case this patch conflicts with workers/51987 ... it appears possible to merge them and all my D10 tests still pass, so not a great problem.