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=-4.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 15600 invoked from network); 29 Jan 2023 22:34:35 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 29 Jan 2023 22:34:35 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1675031675; b=IfBU9F7zLecUueNv38VC7oZISIBCvvgj0vn9x97nLtUaOHsBY8Zg5ah3IED98FW/F1FRTifOzg A7iwJDBkXZw2+DOVuu47nxgGWm9rlACmMqPJQbaW46xIoJNirfQLHdS7qcvWucI81PdbhLcJQN SmP3OKh1fdwWxdjiGnMkk2XRyiiOXCfJ6ssI1ftvfHJiDxybVve0IIM5h8cXwDULgOoitWpdYU DhgUAP/sqyMbBo4JyLgi9TJK2RMLERJhoiU4aePV6lPWDeugUOc8oFqVqEUuPMMRAy7XKtgx3v 0+tmMy+ep3mT9F2SYoG0kr7SjsqugRT4FQVFFxmS/WjmmA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta01.eastlink.ca) smtp.remote-ip=24.224.136.30; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1675031675; bh=bil8TLPOe/16HTMtB7jJOsfLKVVHzdEVQVoHdXUOSKk=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:MIME-Version:Date:Message-ID:DKIM-Signature; b=F64ji+FN0lVZmM/yaDqrA7H6LT/7RwK9sjoYqAXC+1CVKPG2kB9/bRH8M5qKYROYXL8CUhrVRe /MwdDBjZ4h9nZr8K3Sxw4CkGMEOFRtMB3f+7qZrGAlUF8zNWQpbT8Y7mVGRL8DRtnua921rXbL Jl2A43eMAp5FjLy3GLgxNlvypJr8C5IQpl2lU+I0Pan+6pJSimxLwvV/XacEscZ2rTqAFaGJGv gwooWjk7b31NXRHg76tYFrPP+jkIQExe8YqINvQqTj7gfAIphgP26QeId+VNiqsDncQjYVLLhB /gpAltnDR+ru6ZPxHX2qiBc9x0NfQFSEneNmisXtRqAZVQ==; 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:In-reply-to:From:References:To:Subject:MIME-version:Date: Message-id:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=VV8hpLk27Amup/vFdALL0ix/39iLF5wFUzbY95/gf6Y=; b=GzbJ3LHU5Xk0mia9/XABNZ9LKh bXWdHnr/uSD0CTNBDyf8AfI4M03gJF2g7I+XskuLHHaVA0ofbw9I2JDSldhZ4gFlolDw7FUT/xBlN gb99NxQ2uUUfBD4+LHSGFUH/CRY/SX7gQRgVFWaoMsXekBwh9bTMr41X1+cgI7CCdlhZ1DLg2No3z rn66dSeVftcvs+0GpzteAKQdig0F48s2kXfMxCTl4etg94g+CNcJ+Fu8kapx1pNsPaBBnrrsqFVIj PcvqHyIyfFiaNutJvudYCL/BTz1YcqbHwL5vgsGbAxHg+caXca1/O1sPGEGGCrcyxYfVaXb9Vv6jM FzZVqwVg==; Received: by zero.zsh.org with local id 1pMGFv-0000GN-2k; Sun, 29 Jan 2023 22:34:35 +0000 Authentication-Results: zsh.org; iprev=pass (mta01.eastlink.ca) smtp.remote-ip=24.224.136.30; dmarc=none header.from=eastlink.ca; arc=none Received: from mta01.eastlink.ca ([24.224.136.30]:37413) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1pMGFH-000PY2-Qk; Sun, 29 Jan 2023 22:33:57 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta01.eastlink.ca ([24.224.136.30]) with ESMTPS id <0RP900GDJQGIJ980@mta01.eastlink.ca> for zsh-users@zsh.org; Sun, 29 Jan 2023 18:33:54 -0400 (AST) Received: from [192.168.0.4] (host-24-207-18-108.public.eastlink.ca [24.207.18.108]) by csp01.eastlink.ca ([71.7.199.166]) with ESMTPSA id MGFFpo7RC6z6sMGFGpgORG (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Sun, 29 Jan 2023 18:33:54 -0400 X-Authority-Analysis: v=2.4 cv=bOzQYtyZ c=1 sm=1 tr=0 ts=63d6f452 a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=F2Z-jPrmOdK0BTwLno8A:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudefuddgtdduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhepiedtjeffvefgtdehgefgteekueeggeeitedutddvvdduteetffdvveelgfeukedunecukfhppedvgedrvddtjedrudekrddutdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrddukedruddtkedphhgvlhhopegludelvddrudeikedrtddrgegnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepreerpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <7d104cf5-83a7-2e6d-5696-8d0e613f67bd@eastlink.ca> Date: Sun, 29 Jan 2023 14:33:53 -0800 MIME-version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: path PATH Content-language: en-US To: zsh-users@zsh.org References: <0dc71450-d082-93da-52f8-d4e6b97199af@eastlink.ca> <3ea702de-f818-adbb-c55b-e585f8deb10f@eastlink.ca> <1a232406-ad76-b661-496b-974ddf8e67fe@ckhb.org> <8f626e62-312f-06fa-d073-5910d1aba3ad@eastlink.ca> <4993b3f3-3b71-fb80-fd60-3e72170989f2@eastlink.ca> <562e5e2d-44ff-0402-61ff-b621edecf116@eastlink.ca> <1898f1f5-9d67-c832-c145-ee02690f4bd2@eastlink.ca> <102004bd-c372-44c8-9a55-afc298e7c987@app.fastmail.com> From: Ray Andrews In-reply-to: <102004bd-c372-44c8-9a55-afc298e7c987@app.fastmail.com> Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 28850 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 2023-01-29 13:21, Lawrence Velázquez wrote: > On Sun, Jan 29, 2023, at 10:54 AM, Ray Andrews wrote: >> BTW am I mistaken that 'hideval' is not discussed anywhere? > Look up typeset -H in zshbuiltins(1). > No mention of 'hideval' that I can see.  It's not a stretch to understand that '-H' will set the attribute that is called 'hideval' but IMHO that should be explicit.  That's why I suggest that all this stuff be explained in one place, namely in the 'Parameters' section of the manual. BTW since 'typeset -p' claims to display information in the same format as for the recreation of the parameter: 1 /aWorking/Zsh/Source/Wk 0 $ typeset -Hi zzz=123 1 /aWorking/Zsh/Source/Wk 0 $ typeset -p zzz typeset -i zzz ... but if I run that output as a new command, the -H is clearly lost.  'typeset -p' does not do what it claims to do.  Contrast my function (dp is the guts of it): 1 /aWorking/Zsh/Source/Wk 0 $ v zzz Iv    zzz = !hidden! ... an integer with the 'hideval' attribute set.  Accurate and complete.  (Tho using my made-up contractions.) Long form: 1 /aWorking/Zsh/Source/Wk 0 $ allvars | grep zzz zzz                       integer-hideval 'exported' and 'special' are discussed in the 'Parameters' section of the manual,  the others are not.  'readonly' is explicitly discussed in the above section of zshbuiltins but no other attribute names are.  'hideval' is referenced in the 'PARAMETER EXPANSION' section of the manual but nowhere else.  It's not optimal.  It might take a paragraph or two to completely cover the subject, why not do that?  What is the virtue in having bits of information on one subject scattered all over? Seems that the subsection 'Parameter Expansion Flags' under 't' does show them all.  So it wouldn't be much work to flesh out the information there and merge it into 'Parameters' for a complete understanding of the subject in one place.