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 10815 invoked from network); 15 Aug 2023 08:28:38 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 15 Aug 2023 08:28:38 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1692088118; b=NljsLGOQBMcvm6lxlWSk7gZLbeT18+pMBFcbY3IVvhASiPaEsiR1lk3ZnsZP9rKjVJJjdUhL5n xM38JjVbmaF103b8KlPsk6IZNg/e9q7TV+tPjfru9UfglJ3e6YSreIkothZWw5XJoJuWzDaVHR 92ONGGQ7sIOL/4rN/A4Wlg6bOF0hw0px/t/m3OPeoZn+DlsN93winhJFoLI50rK+h/e38wh79R W5VL/2v+CKBwxFUQIbHI3jlfND23qM6kTZM2w5EI0ONo/r9b365ZloPmnCWyTSk3opOeGuZ/Fh ls9f7SWxNV6/mgUajC6eL+UMygoOho67RnNajDpexiPNzQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (csmtpq2-prd-nl1-vmo.edge.unified.services) smtp.remote-ip=84.116.50.37; 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=1692088118; bh=igDO+sulB/uo9yMIEUDgMV/S0RtrSkXzwbQJ3vTujK4=; 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=Lm3ENuERpgXmrp2E8dBePcfge/NkLP0S1wgbG/niyCn6OnGQQB2dBaB+Yq7zN7IaaIDu8A9oHh epf/eYJYI5PPr64CLLmCZOQlvbjIoFBbcJlbARYz+95eK8CDLN6191FXazMaBZ8/1Xe7smBv2u YY0Gg2wRAVNZNu5qzzHsX4LXYYjMPaBN1OocQFHlMYAHuQCyGRVqFS9ZrKFPz/fw2gppdM+Vq3 x8XmgbK9AVup+h/rrPuf5vqOQBfrulALleWjO9eHduVN8EYhD9RJKmSYC3Fp40De8XtmDEi6Vl NJipD1WlQmKCgoWhR3T8bZXsBBWcc2N8iyJas8TwTxeV/g==; 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=RxmdP0gvNSyWui45YnDoS/OfMiHxDUj0nl8n3jVdNJQ=; b=VoqAv3YZFWiZlnaZEFQ5n+UbmK zjpX1qu5T5EpyVG7csJ6rc8A80u6x/lRGYyI4sfsFIks4/p9xWpb3qmxWYQOISHJDXQp1oYvdQEZP tuJPWKkfJ3+jztV1XhUgMlToe4aiFp+2uga90m1EKLE9pLZdhEJFifHd8CR+aWpCXpHMqoyxT0aFm si6ls/+ACNA1K5gewzTNr1OUTR0BTi46kIJ0h1vffoTfPmGbBQ7N8oC0maEr7UQf9iFQBSHP7s+5v Nr7SKRc09F4iP6OWpEP1EkEkoU1ZsBYXqZru1MqtrQ4JDA9eYuTLogi9OBMnT/GSIdGdpAyKdv08U uAIg0bhQ==; Received: by zero.zsh.org with local id 1qVpPp-000Cwa-8q; Tue, 15 Aug 2023 08:28:37 +0000 Authentication-Results: zsh.org; iprev=pass (csmtpq2-prd-nl1-vmo.edge.unified.services) smtp.remote-ip=84.116.50.37; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none Received: from csmtpq2-prd-nl1-vmo.edge.unified.services ([84.116.50.37]:35793) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1qVpP5-000CDR-6u; Tue, 15 Aug 2023 08:27:53 +0000 Received: from oxsmtp1-prd-nl1-vmo.nl1.unified.services ([100.107.83.138]) by csmtpq2-prd-nl1-vmo.edge.unified.services with esmtp (Exim 4.93) (envelope-from ) id 1qVpP4-00E2sA-9s for zsh-users@zsh.org; Tue, 15 Aug 2023 10:27:50 +0200 Received: from oxbe16-prd-nl1-vmo.nl1.unified.services ([100.107.83.152]) by oxsmtp1-prd-nl1-vmo.nl1.unified.services with ESMTP id VpP4qvAYAQAaQVpP4qKdf9; Tue, 15 Aug 2023 10:27:50 +0200 X-Env-Mailfrom: p.w.stephenson@ntlworld.com X-Env-Rcptto: zsh-users@zsh.org X-SourceIP: 100.107.83.152 X-CNFS-Analysis: v=2.4 cv=H7odgcUi c=1 sm=1 tr=0 ts=64db3706 cx=a_exe a=savx3FL1nYZrL0JKOYJTMg==:117 a=IvlwODmuRu4A:10 a=IkcTkHD0fZMA:10 a=pGLkceISAAAA:8 a=KyYuhlk9ro4KCkBDt-kA:9 a=QEXdDO2ut3YA:10 a=HbQOABYz3jhqdZF7JfnK: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=1692088070; bh=igDO+sulB/uo9yMIEUDgMV/S0RtrSkXzwbQJ3vTujK4=; h=Date:From:To:In-Reply-To:References:Subject; b=0ROC7eCliH1l6CWxkN/N/I0VrW72orQIn2smZYOl0CM9x1hed9mn6sJ86COg/PlON m+3MFzL9Gd2G6o7mgndlpeHQYe8W8yVscey9WWuW/SDbF4/yk1GouukwXEyNlpzj3t M4V3gTKr0qfuTUyrvVupEKdouNZZPb+0duGf/Mp12if5QBctkjEwvDlMpy/8bcLDIw WtjHBz+T12DtmPXSmTsHpGXvhBTQf7LtOOPrmYe8IB2sxCxHyQkL8x8Fz0X00YoHbD phJV5fKMaAZ0oRYFB3giPnYfbF8it5m8Fm4LL2j+s1zr4cdv8L7YAcREHbW8jqiGhg GHiJFxwnikX8g== Date: Tue, 15 Aug 2023 09:27:50 +0100 (BST) From: Peter Stephenson To: Zsh Users Message-ID: <2084623922.2320579.1692088070247@mail.virginmedia.com> In-Reply-To: References: Subject: Re: Tagged parameters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: MS4xfGE3F9LvLnZJdLBxBDfdc86eTGp1wgGaatsKBDoFH3pmAM1VZvL+vo51pa5Al+2SZqGLIflkBHDaobMwE/uo4G8xVDYYn/XxFVnEvXM8zvnEnwwkwqQs mw9G29uAguVDyackGPn84G88tVlvJ+Ofu9ktbVA5vZ3pm/ZZMtBEi5HEl3m0jfYqQuhAk16m+dIuhGxibHbwH566xrbBsloeopNoaaXY08l3MGFO6dyEgsxi X-Seq: 29126 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 06:51 Marlon Richert wrote: > man zshbuiltins says that `typeset -t` "tags the named parameters", > but also that "tags have no special meaning to the shell." > > Is there a practical use case for this? Why was this implemented? It's inherited from ksh. It's useful if there are certain parameters you want to keep track of e.g. for debugging, because you can ask the shell to show you all tagged parameters instead of giving a list. % typeset -t foo=one bar=two % typeset -t bar=two foo=one 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. pws