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,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 15323 invoked from network); 22 Jan 2023 20:07:37 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 22 Jan 2023 20:07:37 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1674418057; b=QrzkbHdn96YsaVPEOkznx5w3fNZ5RXJwWRKZOjkcm3ms88M9ZjdmKIjTd5/FrzWZyB9pbD57tT 0CYxPJG8bb0LwS/3TXoiVvq4a/40F9xy7Ylf5Fq1X5gSk1VpI2310opNdDqHot3jrsB5Km1IGe aWbMGf9ic2TBuBqeBwP9iAlYwAa2vox/Rrqr662AaniNy0J6IX6iD38lwynD0a5DXmy+/ecxqV ciaXdoF67ZTOreWqNbQXaxNEx3k7qIpyDTXepiE1TtQ1cEi3UWtca2ud0cuY0grNt+IohSUjWp +eyfeqQkoJezaoHmRGM/ilIHu8CGii7xlyyIryFD9/LRvQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lj1-f172.google.com) smtp.remote-ip=209.85.208.172; dkim=pass header.d=gmail.com header.s=20210112 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=1674418057; bh=AvXbX9vqV2Ya/5CVKFGr/dJt+QFfsBLQlZKR1v02CLU=; 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=kw2zISHvgbQ2Qzc9KmKB/Z2ijvWOi5yCvIFoMjbEzZRL6qZgEUQSWw5sT4fHWIj/A+JNtsbzoH dQyIZZtgxtRquFkp0L67HkwhjKSsL/bHMIvRK3OJLjYGgNQDmYMF+yq/+IzMozp1qnrmXsSZd6 Y8mNERQSS6r/zxHyf4633QDWNUXVR7fC6QZuS0gNjpkJ75Y5px0J2dyMNkEBZkOG/RBGFr28do d/YnqO8vVmzBc92DopfYWd4k9zr9QR3pjMIPto1u2Zau/nJa32OegeNj732wHnX6bzOkpNvsTh nq9z69Ul34SSb/Sec2Dn0wkVuBN4fYZLDtLd1y1kA6qNAw==; 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=AvXbX9vqV2Ya/5CVKFGr/dJt+QFfsBLQlZKR1v02CLU=; b=OMSLz/UrTUNA4KlOJDrgLyx4m5 mWitbwSXGVGNq7TZ+sXpwsYfINmX8F2iaPqBAIdwelPoY5XcCkKUrshPT+O+lw/iPPHUjbPsVLFbe nLDG8Q0M6fOH3SpV6mZx58nCbxy8484EwvEkmNs6RNPTSru3tpO5FegV/Tnin7VvWkj+AMinRgEr8 xjoH8tBmsZiB8nYVo5SKCCe2mbqlK2n44H0t/smpTEpqrKdLubut8KmHZ+Isq9iRYPgDroWaLFsph rNZKUF6/zU3DPMJAZVfYH6VhNaf42LcqieA0EXfc7q7gkIrIcBIObjjLl90FblcEPD167t3p+IZ38 HpVxV3jw==; Received: by zero.zsh.org with local id 1pJgcr-000K5E-2A; Sun, 22 Jan 2023 20:07:37 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lj1-f172.google.com) smtp.remote-ip=209.85.208.172; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-lj1-f172.google.com ([209.85.208.172]:47027) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1pJgRr-000Gux-Uy; Sun, 22 Jan 2023 19:56:16 +0000 Received: by mail-lj1-f172.google.com with SMTP id t12so3535720lji.13 for ; Sun, 22 Jan 2023 11:56:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=AvXbX9vqV2Ya/5CVKFGr/dJt+QFfsBLQlZKR1v02CLU=; b=mdRW6mzc1JZaA0rBMKYhkWMd8K29vPDkHthD+pLr4fotJASl0TYoixjIlkoTG+vW2P 62THBhUISaYZl6Y/w2COfY3IDsdDTk1R5Eng66p2WULJlIZ18jGxjRK5ryWCoKUJ4pcu 0BOxd8Qo/35v/PgxYvxjeqGZL5OQVK59JKN4mZ2ppFWF9KVPxW9soR3t9KIfo/I+hjS5 WvORh8cWaWZW0EBF+/3HfCUkydMI/ZgAyXETacCcInkcRA4VJlQXled10o36/mCsJEb+ /8Qad8oMbplbvGf4BGYP1jQRYBUwldK+Cz/mW1MsO6PeoCf6jvQ5EcjV9xBzoZW/Kieu T9Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=AvXbX9vqV2Ya/5CVKFGr/dJt+QFfsBLQlZKR1v02CLU=; b=sOabRcv7G4N+XzX6eKthQjP8hqwll9ETUXvbiZ7N5OvjuJRNrbkW8egbOJ2ngonjhH Cc3ylBr/ZEqmzYKtACYBl7a0eyGt/riNHb+ekeCxAbNT+cA3H1vKOs893vAWGANG6hmW YDhfpMFRwk0hvhZ761mdwPxC1jFi/SXh8sLdiPf09jLGTIhy1ZXz+e8IyRmBIID2kP9b N5VIKznw0ECvu+fJs+2fMffTt/UJUeZT4G0MhE9P6PIjAWM3pX8y4DCMojIKJPEYCNx3 iyafnpYj+4riUZthg63OjthHkUn6eofxPgcjE9aWTwlykON+GIZdRsgs+veax8ni404G K0Fw== X-Gm-Message-State: AFqh2kpX7q5u8sCtUWdlAyrlXtzKXITFGb501ABdmWSS+Zv+RdGZfsnm 41bLiIgRyFOMMCagNxTRLKX38XkolrvcFz/PnQI= X-Google-Smtp-Source: AMrXdXtdRWpJyBZzfdP2TA2Ilvf6xu25U9/1IB2fsaAcD2A/8SvvLJJ59U+6jvekBqmCyj+sVpxqAhqE+2/evV9C9Q0= X-Received: by 2002:a05:651c:32b:b0:284:8e2:daf with SMTP id b11-20020a05651c032b00b0028408e20dafmr1820796ljp.270.1674417375266; Sun, 22 Jan 2023 11:56:15 -0800 (PST) MIME-Version: 1.0 References: <0dc71450-d082-93da-52f8-d4e6b97199af@eastlink.ca> <378fcf6a-edb0-885b-3d08-9ebee33bb911@eastlink.ca> <3885c637-c56f-2bb7-9a89-02009254ed75@eastlink.ca> <3b93f68e-d090-15c0-c15e-a3d09d702f76@eastlink.ca> <07323898-9985-4e9f-8b54-c08fd8510fe8@app.fastmail.com> <08102bc6-b331-504f-fcd5-28fa3cdb0e2f@eastlink.ca> In-Reply-To: From: Roman Perepelitsa Date: Sun, 22 Jan 2023 20:56:03 +0100 Message-ID: Subject: Re: path PATH To: Bart Schaefer Cc: Ray Andrews , zsh-users@zsh.org Content-Type: text/plain; charset="UTF-8" X-Seq: 28719 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 Sun, Jan 22, 2023 at 8:51 PM Bart Schaefer wrote: > > On Sun, Jan 22, 2023 at 11:31 AM Roman Perepelitsa > wrote: > > > > Intuitively, I expected that `typeset -m pat` is equivalent > > to `typeset -p [params]..` where `[params]..` is the names of all > > parameters matching `pat`. > > You can get this by combining -p and -m, which I think is one reason > why -m is different. It's still weird. I would accept this reasoning if `typeset path` produced the same output as `typeset -m path` but it doesn't. Something feels off. > > > (where I'm not even sure the (q) is necessary). > > > > I think it should be (b). > > Are there valid characters in an identifier name that would be quoted > differently by (b) and (q)? I don't know. I said it should be (b) because it would be correct by design while (q) could only be correct by coincidence. Roman.