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, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 2910 invoked from network); 22 Jan 2023 22:45:17 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 22 Jan 2023 22:45:17 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1674427517; b=bsyLN8sj8lmJpNeENjl5ALyjCez9X1riz4P3980ZA3Q6h2aCus7D+ln4TwIEVyAKnjKncfGliY rNs4yjquqWoLz2Sy3wfZEkpSATeWyAdtdvAcN3wJE+ZMYHW4NYuOpE/VDQEmMKYJ5evrjKOM2C 49q2YBAKG7UE2zoNkvrRR4c9LJ6PVrke7JsQvN4G12LySizv3aZ8K2eRW/Ds91zV/bMqVxZ2CX IGAsQQX58cZU52mPx5kwyb6a7vWhmm4qFrgW/dtjTki/FwmxSFe8O0GacaxvNotijq+ZPQJx2+ z2uWgODkClQC20J6mrYhq4CKqLTa6Ei5ru4djThNuGewcw==; 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=1674427517; bh=oDzVWx84H3qzAgz/B9K8pZfKPldpB/D1NUAylzaSfRo=; 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=XBA/WWtHE/06vhLb0ynSpRnN0du6OLbHqH4R8SX9vrD22anoK2w9l6IsC04RGttQzPnaGArBXM ov9W20tmQVDc1tFnAGnZE2s/jz+T39LC0NRdY9Wqzw72fHsD7M/4S9LCsBFse+lWwgjf1SZ/98 7RX+GAIMM3LdpD1jmHTP2nHBy/1gXABxfmG8MrRACfb2M9C2L0dFQ52GCunc+iGvwJsG4Nh48E JITzaNZca30I1y8jb12gOSXP54+zTqcJElKPxQ+3FqDQhMiod860O9RJJ5LBCxMfmJclXvZe6L +M9LnwOEVhzMRl4Rl1KrOUo8v7AhxyQe3xNTmvH6ZH7p2w==; 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=RZwXsnTFK6g3FBLF+sCIFc6f+zA9SZoL8wkznBNGixw=; b=S67qZv0V8ozoyMEtjs1L+SHt+A pKHTYtn/f9+ThB5GrM5eJ3n3KIbB7ZFitH3EmhO9JvraoDGeg4LIxfEfRe8N6kKx9Porj3T/I5zRL xJH8SLSemH7RcncqS4awOMTr+Q8Lph8fzltpD+hT6vjNs5/mj6iKh/HV5YTHDZ4aGkzRf1iCcgIni P2XppDcrjinkc8tjZ+nxyvNFTa/te3dAMk5oieGK3ga8XMn6jeB9/EcfbhMc5NMvjkXOuvcsKsQCF jIfrN/VeDO71EXrozDgR/MhFAgjlJEbMJLvnd/wpZ2AoOfzCuCdDH6RwiOJQuFF9OHwsSavtFk3cd IXnh/5BQ==; Received: by zero.zsh.org with local id 1pJj5R-0005yg-BC; Sun, 22 Jan 2023 22:45:17 +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]:50509) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1pJj4t-0005GX-3A; Sun, 22 Jan 2023 22:44:44 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta01.eastlink.ca ([24.224.136.30]) with ESMTPS id <0ROW00GPRRNN74M0@mta01.eastlink.ca> for zsh-users@zsh.org; Sun, 22 Jan 2023 18:44:41 -0400 (AST) Received: from [192.168.0.4] (host-24-207-18-108.public.eastlink.ca [24.207.18.108]) by csp02.eastlink.ca ([71.7.199.167]) with ESMTPSA id Jj4rpyG6JjOrIJj4rpL8t1 (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Sun, 22 Jan 2023 18:44:41 -0400 X-Authority-Analysis: v=2.4 cv=Kv6Lm0aN c=1 sm=1 tr=0 ts=63cdbc59 a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=bd0axnyXw7BUU_6sng4A:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddujedgtdefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhepiedtjeffvefgtdehgefgteekueeggeeitedutddvvdduteetffdvveelgfeukedunecukfhppedvgedrvddtjedrudekrddutdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrddukedruddtkedphhgvlhhopegludelvddrudeikedrtddrgegnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepreerpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <02527b62-5c57-9489-d0c1-10f155145c0a@eastlink.ca> Date: Sun, 22 Jan 2023 14:44:40 -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> <3b93f68e-d090-15c0-c15e-a3d09d702f76@eastlink.ca> <07323898-9985-4e9f-8b54-c08fd8510fe8@app.fastmail.com> <08102bc6-b331-504f-fcd5-28fa3cdb0e2f@eastlink.ca> From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 28726 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-22 13:11, Bart Schaefer wrote: > That's obviously not true, or it would not have been possible to write > describe-params. Roman's version didn't reference typeset at all (tho yours does).   Not that typeset might not be *part* of the solution, but by itself it is poor -- thus the value of DP. You and Roman have both pointed out that typeset -p is more a way of recreating variables than it is of displaying them with type and value.  And if it is already adequate, why would DP even need to be written? But it isn't and it did. Pardon Sensei, but you and Roman have solved a problem while at the same time you're claiming there was/is no problem to solve. Nope, DP is this dolphin's idea of a well written utility -- focused, simple, understandable, informative, complete, helpful and (I expect) with no ands, buts, ifs, maybes, exceptions, entanglements or gotchas of any kind.  man page will be a couple of sentences.  Software for mortals.  Superb.  Many thanks! IMHO DP should be standard equipment -- part of the release. (BTW, haven't run your version yet, waiting for Roman to sign off on it, but it will only get better.) Dunno, but if it was up to me it would be built in as: typeset -D man page: ... To display the type and the value of any parameter: typeset -D PARAM (wildcards accepted). That simple.  Love it.