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 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23787 invoked from network); 15 Aug 2023 14:40:22 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 15 Aug 2023 14:40:22 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1692110422; b=rg/fG8R5CsT/a+u2YKi8LNppPa7IpbBzQpNEaEfxB6O9nyXe/ra5eEiKFCJp71WVmtCH/P5HW7 S3mf1tw3+2ssWg12l1V6WKeH5wlH5g0/bmynjIWHq7LhLceuGfcwmDrjkUt66l4GrS2xuhWkfd jm8JD2p1Zs6Ayw+w5St/QWy4HDNjtCOYVFn0hBeZYTuHYd15HUx5tbQwrCiITzoSjIgryT9a/t iEXGerXgT4I3DCg0suR299qhkgS+0GxoS8uNsr1Df7OBETwlWKE7/3LBDAf/BHqqhSc1a2nMPA jfmxotjvuEgZw2tngSQlx4l9GzB17KdHp3QnAKSEJumNjA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (csmtpq3-prd-nl1-vmo.edge.unified.services) smtp.remote-ip=84.116.50.34; 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-20210803; t=1692110422; bh=NVfNCOvOHP+CVwfLRHAaeyZDUBxSnCmYk+y+cTPGwcA=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject: References:In-Reply-To:Message-ID:To:From:Date:DKIM-Signature: DKIM-Signature; b=PBiLWdY36xzV0y1PkrXLxg/vuu32Qq74+hKIsRPMQKtuNZbAzou9uMpxAqczYvPGQcCZcT2nhJ cv4PXjUw5dMWzZ0loM20lsJeoOU6yrgOZwFHA6UvOweAKaceSv5JOU4SePd/9s8B25PIk7uMjr /5ldn73CgL7gMmjSMBm+od/0sDTyZ7R3i2XiO3DHgvvjhwbeGPy+DL6ns2g4pfGSPDc4wOHz7D mqvHDp+r/L/in8Tzbo9Iw7xumGtf4gbwIeaxkyYo1dgNOdQQen1m9jauSz2VSi7uRBAK815JHz eKU+zYoBYOTijmVxxsXzXBU3HXzxj92w88eD6mVWrBo25Q==; 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:MIME-Version:Subject:References:In-Reply-To:Message-ID:To:From: Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=QsuCZ3s0sJMsdLwz5szo+SqvnN8dteoU9+pwfUQvxqQ=; b=FoZJ3sJYjtAkdQaQy+em6rauCR Yz6gJdLG+EWeEwP9VgDxRM7szgHgsGQegukzYXgUgK9je/7G9rDm1bXUdGeALDRJT+Rp6RM5/mgYS elUUgfMkh54keH0nHQvpFxQsPoBH9ucsXuxbh3I1lWXDDT3/bRRRWQyU9Oo5s2IQM1YlROx2t4QxV XKXxVCzgHXIycg+Qzl0MtruUe0uOB6Z33AOZZU/mAIM6JG4wRn0Vpa4rEfMxiXePr1RW3ZJt+pejQ T0x+3B5tYREzysERC1KeW8yiwAbGqges5GwCBS0GAKh35sNN0kVXPISHbFc/Ff+kvEZP0wddsRuQT TVLLv2nw==; Received: by zero.zsh.org with local id 1qVvDa-0000OR-Gl; Tue, 15 Aug 2023 14:40:22 +0000 Authentication-Results: zsh.org; iprev=pass (csmtpq3-prd-nl1-vmo.edge.unified.services) smtp.remote-ip=84.116.50.34; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none Received: from csmtpq3-prd-nl1-vmo.edge.unified.services ([84.116.50.34]:21967) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1qVvD5-000Pdk-FW; Tue, 15 Aug 2023 14:39:52 +0000 Received: from oxsmtp1-prd-nl1-vmo.nl1.unified.services ([100.107.83.138]) by csmtpq3-prd-nl1-vmo.edge.unified.services with esmtp (Exim 4.93) (envelope-from ) id 1qVvD4-00GAZM-13 for zsh-users@zsh.org; Tue, 15 Aug 2023 16:39:50 +0200 Received: from oxbe5-prd-nl1-vmo.nl1.unified.services ([100.107.83.36]) by oxsmtp1-prd-nl1-vmo.nl1.unified.services with ESMTP id VvD3qvspiQAaQVvD3qLLbf; Tue, 15 Aug 2023 16:39:50 +0200 X-Env-Mailfrom: p.w.stephenson@ntlworld.com X-Env-Rcptto: zsh-users@zsh.org X-SourceIP: 100.107.83.36 X-CNFS-Analysis: v=2.4 cv=H7odgcUi c=1 sm=1 tr=0 ts=64db8e36 cx=a_exe a=w8KIE5cSIbfxgWdlMr+iqw==:117 a=IvlwODmuRu4A:10 a=IkcTkHD0fZMA:10 a=gir0-LH0AAAA:8 a=MGV5bILGfgWNdVGj6b8A:9 a=QEXdDO2ut3YA:10 a=HbQOABYz3jhqdZF7JfnK:22 a=aLewGyoHDmJ4ULJHWpSz:22 X-Authenticated-Sender: p.w.stephenson@ntlworld.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntlworld.com; s=meg.feb2017; t=1692110389; bh=NVfNCOvOHP+CVwfLRHAaeyZDUBxSnCmYk+y+cTPGwcA=; h=Date:From:To:In-Reply-To:References:Subject; b=JYi9H5T/GsIurkIfBbOgxQ19B1GW+898noLf3e834K3AvNgBR7cHBYopiEkCjshYS a0j1n7WCiQ4NeGPq+LyNfYLI+EpKpTCNclzOxdAqL06xAh/Ue0hIn0PJWC/ByATd// ASmg3qImcXQu+9jhbjlGmOt8vxK4P9aVz3i5sLFgH/q0CjQ1PIinB/LwN7WUo1H5Ci 81pFhS/DUA24bsXRYoF27kT4peAI4ARV/lEZ45l7FIJtmWjFCyh3lMh9TPMX8WiUiZ hmsMFKtEt9uv2ij5Grzoi/5Aqa4ChZKcKqQVYynQxnn8yDb40H6oqJn0Pngi72kiDe wXO07IbWQ/iHQ== Date: Tue, 15 Aug 2023 15:39:49 +0100 (BST) From: Peter Stephenson To: zsh-users@zsh.org Message-ID: <1239829800.2332805.1692110389939@mail.virginmedia.com> In-Reply-To: References: <2084623922.2320579.1692088070247@mail.virginmedia.com> Subject: Re: Tagged parameters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer X-Originating-IP: 147.161.224.196 X-Originating-Client: open-xchange-appsuite X-CMAE-Envelope: MS4xfIRQLjAqoCWvMxQ6JiBLpALIeW6y/v3suhARYUi3sT9QLTmLs7sNGle8fo/uLzxO6avaQuJ7XRudYSdqyOyGP2yS+NHJCz338TiQKEQwBqwVG4PB1jmr 8EQ3U1TlfZyKA36crQPllr6KcsJCep9oziV6LfvGT/1g37TLpVdIB6/Xe802CW7h2RLXxGbjRGPgVFjwjOFls/mXF05cUF+BpjVFPmjSvSMVeeYeFNc2d3kB X-Seq: 29130 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 15/08/2023 15:30 Ray Andrews wrote: > On 2023-08-15 01:27, Peter Stephenson wrote: >> Saying they have "no special meaning to the shell" is perhaps not a >> 100% helpful description. since the fact of just having this option >> associated with them is itself "special" in the way shown above. > > Thanks Peter.=C2=A0 "tags have no special meaning to the shell" is=20 > anti-information.=C2=A0 Perhaps something like: "When a parameter is tagg= ed,=20 > it changes in no way except that the command: 'typeset -t' will make a=20 > list of all tagged parameters along with their values." Yes, it's worth doing something... here's my go. pws diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 5eb9327..b8ce31a 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -2320,8 +2320,10 @@ readonly). Special variables that have been made rea= donly retain their value and readonly attribute when made local. ) item(tt(-t))( -Tags the named parameters. Tags have no special meaning to the shell. -This flag has a different meaning when used with tt(-f); see above. +Tags the named parameters. Tags only exist to mark the parameter for +the user's own purposes: the set of tagged parameters can be queried +using `tt(typeset -t)'. They have no further special meaning to the +shell. This flag has a different meaning when used with tt(-f); see above= . ) item(tt(-u))( Convert the result to upper case whenever the parameter is expanded.