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.3 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 15094 invoked from network); 2 Nov 2022 12:57:22 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 2 Nov 2022 12:57:22 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1667393842; b=PGRNSDQPHn5mLfk42DGvxw26272+dB8hs/yH/Fw0lDaxqN1zFMU00VJVrhW3ssxvsoSck2W9hm CQwAns4EZL+9zYwL8zJOOKRqlYZw5ubaEs9qYTuNslmo83HzKIm6Jt7J3N4Hbsz7f4oRNakf+s mo50YroMZC77eM8AJHHrj12NQtpvq5md+2hZfw/NCbVwmGkikckHTyaV5Lt+RojYVS5SeZxNAc FvFZxN7Ja+LADAW6OPVJLm3DIsUkPhcowPYrXmkgvhXjzPE41Xhle1z68WIJ5O5kSLlc63rxlj qu5Akq3dtFTjJBu1MCxssogqGupi38KrDOT8XYY52oGvgQ==; 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=1667393842; bh=3Gdauf5J6eTnBZzJkh5ZlzoByZ9444NqRcv+drrP6NE=; 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=lukZjxfgsEcYhAO6fWBucKRI9NyFUlUYWkSYjPYzd0ErJtNMQPQbiSiWwkLN7pTWxZvHPd/lvm IkREupA5Jc+ej01ed1wVBcfxlLIVBM3WLGXOPcxSZ88poR9ho1S4HmkkLHfIS7VRzXG0gmFhPd QVHhfjTAhQe5Onp5kswjtS+Yv61DGoeTe4YjRe/xaZ9zE6sq8Zw9ma19kkijurOIw6oNGN6Okf 890xaRHdSaVDBwFDT0jHmsNVMBMLHX72Aeoco/vwXpqiiuWaar/rLdcCAetJzYjpDgTpqdOiXX XxDcBeCq4OqGFI5NkIG2pYugCRfCeUI+Y5EKWzUmymtxMA==; 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=AUdLajJHoV+XzQ/2kdEQrgMqT+wzPtvvhGjIlX8A2+o=; b=fW/XcEjPUcgOtra86W6B7e0O7u SzcfNzsgCb7fDmy/D6hFAWC4DunRUyK0+iqLfScfscoYIQw6FRZHSgZBcELM0de/sWp0ydLJjpeI1 euXnYxd7qDJT0n+AnefqlDajgsuj6+eGgxcaILOztyrL4K7rkWKx0NEtlXJszOEamTMdCZe1CFZdq SubfyGc48SAi1KT6xRjaJBywMz/T07IOhNLdYsMSJvuqN0+d9a0MuvlJ9AanoH7n74xjfN2QYd3eV CyBJiu8vbYpNImePskUVUeLwKsc1qFFtW1hGIIjJg6GPOzzVs08KCUTXtiZCxcIOoTR8ZDKXBaw2N XgiK9EVQ==; Received: by zero.zsh.org with local id 1oqDJ2-000L6O-EU; Wed, 02 Nov 2022 12:57:20 +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]:47494) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1oqDI9-000KPL-V4; Wed, 02 Nov 2022 12:56:27 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta01.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0RKQ008P40QMYR90@mta01.eastlink.ca> for zsh-users@zsh.org; Wed, 02 Nov 2022 09:56:23 -0300 (ADT) Received: from [192.168.0.2] ([24.207.18.108]) by Eastlink with ESMTPSA id qDI7ofRWxXZnZqDI7oJfTw; Wed, 02 Nov 2022 09:56:23 -0300 X-Authority-Analysis: v=2.4 cv=I9+jBvsg c=1 sm=1 tr=0 ts=636268f7 a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=We-DcHfB23YLTnT8F-AA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrudejgdeghecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeeitdejffevgfdtheeggfetkeeugeegieetuddtvddvudetteffvdevlefgueekudenucfkphepvdegrddvtdejrddukedruddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudekrddutdekpdhhvghloheplgduledvrdduieekrddtrddvngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepvddprhgtphhtthhopeerredprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <446c90ae-6aea-8a7e-ea3a-a0a47f79a846@eastlink.ca> Date: Wed, 2 Nov 2022 05:56:23 -0700 MIME-version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: "typeset -p" inconsistency To: zsh-users@zsh.org References: <552657de-31ce-255a-bc8d-7c9cd4b8eabd@eastlink.ca> <530b18d0-5e72-6afd-7448-cdff9c119bda@eastlink.ca> <9712ca3f-76f8-3aed-0a40-c6269afb73ad@eastlink.ca> <69b46d22-4430-ddba-4b21-a220b4816438@eastlink.ca> <4f5942d7-c5e2-45fd-8da0-1de3dd8b2cf9@app.fastmail.com> <4ba3d422-cfe3-69c7-29fe-4b7afb73c9e7@eastlink.ca> <7e4f0447-694a-4971-9b23-77b323574f11@app.fastmail.com> Content-language: en-US From: Ray Andrews In-reply-to: <7e4f0447-694a-4971-9b23-77b323574f11@app.fastmail.com> Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 28319 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 2022-11-01 20:11, Lawrence Velázquez wrote: > As Bart already explained, it is not "one and the same variable" > -- PATH and path are *two separate variables*. So there is no > "duplication". This country boy sees them as duplication.  'set' does not print them twice.  Anyway you guys are happy with it so I'm flogging a dead horse as usual.  Besides it's easy enough to filter out Tweedle-Dee and leave Tweedle-Dum cuz I learn nothing from the one that I don't already know from the other.  I know I'm fanatical about this sort of thing. > (I suppose one could argue that "-g" should always be output for > global variables, even outside of functions, for the sake of > consistency.) Consistency is one of my cardinal virtues, I like it alot.  The Linux/Unix world doesn't mind a bit of fuzz tho. > (As an aside, "test" is a builtin and POSIX-mandated utility, so > using that name for your own purposes is not the best idea.) It's the sort of thing you learn via hard knocks.