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,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28325 invoked from network); 13 Sep 2023 15:11:31 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 13 Sep 2023 15:11:31 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1694617891; b=faHjRdolY+yvfJII5pcKnogzD2QtDJQufbAcqwZ+LroPR6/nHKQme9X3MGvGfj4ID8WvVi/kkj d5o1MERCDxeF11rYC3HCbYgLFu7jcac+ys2HHv/GrEs+B4TNsHp5ds41ahmhfg3XBumjcTnPsB F2+hvg+m3ESCBwRyE4BlUUf6ltJvyRenGcrhuhxLSSPx3lYEQPLSuasJXHRsjYNxlIt33TgLXI 9U8u6QPtm85xuzSmhQkAy4wtkhkuEveypE/bLLck+AGYleWQ6UcZzfBIUExDaAsVhpmFLQj5cu UAzEBY9FGWiwFTqzQ3HqsuhVY4ur3Idu0Pg4AYCWFPCnPg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-yb1-f169.google.com) smtp.remote-ip=209.85.219.169; dkim=pass header.d=gmail.com header.s=20221208 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1694617891; bh=czK35eq3Wkw5hcqQalddLG4WUep+MGjY/1qHX081WXI=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=ScZL+8T0CYcY3MPEcyn94gE3TJ1eBfOtyPEws5v87mxUl3jQsFQXPJ2vcWsXRoMSnNRZ2d2Acp xqiRshkzSsyGzX5/F5S6Il++u6YLGIFXfCFiL3ENSESBL9jflU8TcempCgPLQJ1kojgUK8bUHq Ly1oNgwRrUcJ7Me7Hg5Jno6lRKRtJnuH6Clkun/zIEzvzeTSsu20AhDmcdSJZ85bi4rfVHycnc 1XTsSToSq2ddHGBz1AaFh6raDknvl/O2yKeC6a3n4Sqxo1u3x3ybKsm7Ntbb5g/gYs82PiEVmc 6bUo9qViUhmxHeLqaEgUcBzU2bYrrsRdN6Th1zi01NfUZQ==; 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-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=u/t2d2enolHx/DqsMusaO30xHRh9DQjcr7CPBoAicbM=; b=mtuvGQyE0YaLSQxLZ6dkFWKtRy BVvO1GYUbVqetVx+Puc0HybAudnC7Bt3cUshuPT/w2IzjoNGkYrir+NxBx1kaQy4Hz9xZJTx8FoaO idvISwB9nQZAzFgHIQiIlJIh6z4lbe+AQKQPpiHkX0R705GLH+tkMcbaP+sBNQN9cIMn/8l0yplS5 jWPS4GCivcAu61awX51EifpM++a6sW36rOnXP0pem481pCsQCQAMzjq7dDAqpciXAiCFeiTVdmso8 t2b/iW5h39RLlQLAfF06KYa0MNDJjw/ctC56pFaxTqCKNx9L2WaQTVtBzVRg4fX/2nxTyxXCIWAqG 9PQPBhyA==; Received: by zero.zsh.org with local id 1qgRWd-0000au-5C; Wed, 13 Sep 2023 15:11:31 +0000 Authentication-Results: zsh.org; iprev=pass (mail-yb1-f169.google.com) smtp.remote-ip=209.85.219.169; dkim=pass header.d=gmail.com header.s=20221208 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-yb1-f169.google.com ([209.85.219.169]:56414) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1qgRVN-000Psp-8f; Wed, 13 Sep 2023 15:10:19 +0000 Received: by mail-yb1-f169.google.com with SMTP id 3f1490d57ef6-d77ad095e5cso6535681276.0 for ; Wed, 13 Sep 2023 08:10:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694617812; x=1695222612; darn=zsh.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=u/t2d2enolHx/DqsMusaO30xHRh9DQjcr7CPBoAicbM=; b=gWnTLnFBuZUucueolqYGs6RfRd1P4w5pfHmGWpgxqWWdCyZMMN5jFtiUJE97SA7VHq 8ZwBYwFRjgT4IX+CnTfdrV+XPjxcEEIeFjMInjXXlmZ1KjIALGwYncGaqYfw6zTYg+Bm Nkk+XjFZ/LM8nMiKU9ot+n67MjWuiA1uOLt/4EimgQwFVBLBPLCWUwd/PKLk8+ys11Un hY9Bq7BDWb9LCgPX8grr2ldeOU6opu8gtq83q86grh6qctT+xOdlDQIHBx+uPC1e20RK 8mCpI4xXinS/MDLXSTFVAqF9Bv9257dAiC8C938k/575J75GhWlnc/avJN61HOO1Pgrn FuIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694617812; x=1695222612; h=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=u/t2d2enolHx/DqsMusaO30xHRh9DQjcr7CPBoAicbM=; b=QKd+OYvrS9lSNRxebQhklQ3o+cIZwjmeXvjJZhGpFkMozS/fSd0p+uaDF3+FEGsftJ TIaV9hI7//s0wmP8xQuWxn09PirLfb3hA39TQfrGSpqP9MYNcofQ3i71v5T/HLtD9ixg e44zSsDd5vxySTS6f6IGdUtQrsZyqvfZVxMopiDmXAjwC5vyal46DBt3KF25JZh0ZLO3 ZIcpfZnExEBa4Vaszd0+RFszhOuBj4mRjOk1J6jpJA5h/PxMLYrZcKaWjzRRZIzxaUAA ZQY9NtQ7LUBoBHZgwvs08lmrx1lfsIbOAnisj5yA5uaYi0YWJttIf/IVIzjIZ9BU4Pbk R59A== X-Gm-Message-State: AOJu0YwNs6d1B9rT6ff+FdRsdmoELgVsO8f31mMiTeUoTSZrpucqPG2V R4DW5qEoUSuaAz+SRKoPWpCNUnbpUj4xrSQNiKGrmNOiPRE= X-Google-Smtp-Source: AGHT+IGqBzR73HCKGvuOqAihibT22+MHZU4/qYglm0KLp9ZuJfn0MO5knYURKzFiR9LI4wfZLvCY4YGF9WJY4wVjYD4= X-Received: by 2002:a25:d8c3:0:b0:cff:ff4a:8bf with SMTP id p186-20020a25d8c3000000b00cffff4a08bfmr2638466ybg.36.1694617812208; Wed, 13 Sep 2023 08:10:12 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Pier Paolo Grassi Date: Wed, 13 Sep 2023 17:09:35 +0200 Message-ID: Subject: Debug zsh (was: Re: quoting question) To: Bart Schaefer Cc: linuxtechguy@gmail.com, zsh Content-Type: multipart/alternative; boundary="000000000000ba12aa06053ef4ba" X-Seq: 29248 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: --000000000000ba12aa06053ef4ba Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, hope I'm doing this banching of the thread the right way I would like to understand this: % echo "${:-{{{{}" % is that output generated automatically or was it human-made? thanks Pier Paolo Grassi Il giorno mer 13 set 2023 alle ore 05:42 Bart Schaefer < schaefer@brasslantern.com> ha scritto: > On Tue, Sep 12, 2023 at 7:51=E2=80=AFPM Jim wr= ote: > > > > Unless I misunderstood, adding 'setopt ignorebraces' to the function, > returned the > > same results as it did without it. Don't know if that helps, or confuse= s > things more. > > You have to setopt ignorebraces before you define the datetimetest > function. Otherwise the internals of the function have already been > parsed and the behavior doesn't change. > > --000000000000ba12aa06053ef4ba Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello, hope = I'm doing this banching of the thread the right way
I would l= ike to understand=C2=A0this:

% echo "${:-{{{{= }"
<dquote braceparam braceparam braceparam braceparam dquote:~c= ode/zsh>%

is that output generated automati= cally or was it human-made?

thanks

Pier Paolo Grassi
=


Il giorno mer 13 set 2023 alle ore 05:42 Bart Schaefe= r <schaefer@brasslantern.co= m> ha scritto:
On Tue, Sep 12, 2023 at 7:51=E2=80=AFPM Jim <linux.tech.guy@gmail.com> w= rote:
>
> Unless I misunderstood, adding 'setopt ignorebraces' to the fu= nction, returned the
> same results as it did without it. Don't know if that helps, or co= nfuses things more.

You have to setopt ignorebraces before you define the datetimetest
function.=C2=A0 Otherwise the internals of the function have already been parsed and the behavior doesn't change.

--000000000000ba12aa06053ef4ba--