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 16845 invoked from network); 22 Jan 2023 20:19:12 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 22 Jan 2023 20:19:12 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1674418752; b=HJliAmcD32wxFdd84YdlOjm4Qa/VJIB0PrfJbJ0hYwnChaF0bUR/igdxVoCOvKKoczus8JG6b8 jBLbSRsNd4xBMf87UjJQ7+/tovo84fb0xLDrg+VQSYjm807uwNESsLQMUK/sL8MsS3ip3Yqc5a 8bfllkpoIVR6hl4u07MTPxURci+cePldzjcgrn9ZGyRod+AFDPp/sM7U7dd4euBGMNwN1yLV3e MFWIEogO+fiyX/EkmHzY+8vRnW0Gp3Sxog4g13cnVftENE6rNsJNzqYL79/CaSqMOdYHJ+AeeJ yg0BUhBjNFgch/TJweZqx/DzWK51m9RTOfj6TQSmMbm0+Q==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; 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=1674418752; bh=ywGteN9R4hSX0W6tdkztdL5I1bgs3X+Ksls3j1MkYIY=; 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:Cc:To:Subject:MIME-Version:Date:Message-ID:DKIM-Signature; b=G71HFu62nzdu9HMJW4WlEQohYsdIZQ7Ry2m4ef6x8r6PICCI6Z4IvURNwin455QVjkiMizvtye Ug98rmnt2EZ0qUzpKTFk2M0DFJa498S1JSaLn1wbecDbCIHS07t/JoUWebjS8ivi0VoUEyNSLg /yJTqg84eeZOi9XfhyYkAxGU/hUE1rOScg3ThEDJYcpLP4gHWwZzp3Z1K+AK4e8Kp+6UQ72if/ 3nKUuPpX4+5t768zZal0pFzS3xZ/ggi+/ceaDQRftxhVwx2UClTHuqY9okUcozmEtE0rd7N0b7 P1QhR+5qBJMjBr+NIA5eZBOmGzEXGeRPRTB9LRvbZXtxng==; 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:Cc:To:Subject:MIME-version:Date: Message-id:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=l/2Yo/qku+xeXb+lzyDB9dE3UQFU+D2biX04Hbhqrps=; b=gWCt7ylWfEp30wipKQbc8fAiGq NA5qJXmtb84Xh1rJUmaTyRRcQWMgqyIpoa8u0f22iLTjuGSiA6CCu/HOxB37NyKRQUKN60cD4IROd 6Vnua0/DbarXPeTQfvaHxXuKLAoYE4i8nCUm+wJZ3ZhHFWpk2aX4N5wP5lRUcMIiHeDLyEjdxpu+G sx8YxpFTChROnHnLKGyh5IFrzYF4+7u3R8/efaNXgeftRYd3vD4jKFSzFzjeCOpWWaXBYQivJn8Y5 w899zZSse+Xv3bJw7fzDWFOL4Ew3zySmh1JgM+L9BEvZbr902O0WUd9L1dHqJj0dhQLW/kRW4J5aV WdpSWYqg==; Received: by zero.zsh.org with local id 1pJgo4-000MjA-Aw; Sun, 22 Jan 2023 20:19:12 +0000 Authentication-Results: zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; dmarc=none header.from=eastlink.ca; arc=none Received: from mta03.eastlink.ca ([24.224.136.9]:50869) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1pJghL-000Kn3-Kf; Sun, 22 Jan 2023 20:12:16 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta03.eastlink.ca ([24.224.136.9]) with ESMTPS id <0ROW00OPLKT5PE50@mta03.eastlink.ca> for zsh-users@zsh.org; Sun, 22 Jan 2023 16:12:14 -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 JghJpQeGq6z6sJghKpbsaV (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Sun, 22 Jan 2023 16:12:14 -0400 X-Authority-Analysis: v=2.4 cv=bOzQYtyZ c=1 sm=1 tr=0 ts=63cd989e a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=5flIMXRUYVre9MeDAWAA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudduiedgudefjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeevheetiedvieffffeghfeuueelffelhfekfeehkeffteefleetleehkeehteejleenucfkphepvdegrddvtdejrddukedruddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudekrddutdekpdhhvghloheplgduledvrdduieekrddtrdegngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepgedprhgtphhtthhopeerredprhgtphhtthhopehrohhmrghnrdhpvghrvghpvghlihhtshgrsehgmhgrihhlrdgtohhmpdhrtghpthhtohepshgthhgrvghfvghrsegsrhgrshhslhgrnhhtvghrnhdrtghomhdprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: -100 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: Date: Sun, 22 Jan 2023 12:12:13 -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: Roman Perepelitsa , Bart Schaefer Cc: zsh-users@zsh.org References: <0dc71450-d082-93da-52f8-d4e6b97199af@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> From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 28721 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 11:56, Roman Perepelitsa wrote: > 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. > typeset basically sux.  I know my opinion is unwashed, but typeset leads me astray in every way.  What you and Bart are writing just now is what 'typeset -p' should basically be doing. This 'display' via re-creation' -- which gives us those useless 'typeset -g ...' outputs within a function -- And the m and p switches don't play well together.  Nope, it's hard to love typeset.  Dunno, if I ask you your middle name, should the answer be to re-create your birth certificate?  Just tell me.  typeset -p is a very busted way of getting information.  OK, it's not *meant* for getting information but, prior to describe-param it's where you had to go.  Finally we have a real solution!