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 1348 invoked from network); 25 Jan 2023 18:27:01 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 25 Jan 2023 18:27:01 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1674671221; b=EFEVJ6pSV6JrpxSNVyVMeLtNKk0Ph86fyzqDgfF9hpRd3yBlFCwwxCGAqBZtgJrfDtguiOIOAI O3vNDRfiouLP+yaX/uOQMlMl16laFhtP7ZNeOZ7Id4l9pnQegk3fK2TJ6Bz2AmnZYhlVWvixvK 746zrXMfOXcZz11mol6FoAOf6Xv9c4UrMxe0R+8Fd5J2ZvyFqFk8VF57f0cTiU+NUXrP2UxtMY rD7fDtvp5U2k1n9EvcCC+5N/WSn1Y3DfpMr0v9pkTlcOMP4o7WAxEvGk5PxMB1qWmHLQgrKxu1 +75COmzM2O7a8jda1E6TQSmW3jG3XZFMbYFMCMtbyQZcZg==; 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=1674671221; bh=gtLxkSvid7tXwvbga+iZ5pxsO5qoRTo5Kku6AI9+7KM=; 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=TE7lvrgAUKCJYSChGJek26RX4nkQp30M8RATBR665KsWsg/WwzblgzMx9rJSvh3+YtgDar8voW z5tQuhkuOubz3SgEbfjIAcbI3JUM5vmnzDTUTCVPL/m4qaGOPflMbEQAwqzDLfPbGDCUMPG8Cj itDG16cNBzIjRX6sTdUQiGmappqbCyMKE46w4yOHpnfSlKR1HGAszYjiD408u1nmd2bQLBv8ZD emFI0wpvBlWc6jiZslyLntSpanqS+sGHZV4EsGtPhfh2H7qTBg/fdSQ3t4dnuwnGCVYqkkQdRB A6dVX+E7s1T6/It2NtTv/58H1pPzpvMfswLe+3LNx2SJMg==; 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=v3JZX7LhwN0fGvvWcY3DezJE5FD8RuV1Tq/MgbdlxCE=; b=YK1j1+vy+sBUYXsYTLFc7BmAlC bVyexksDXuYA7mUwDxTzn24gwmwjIVAvzhHgrqlOMtMBS7kn4m5cVFtPGverxhI3JgVzGys0P8xMM d57iVzluh1mlSaATIj9GjvNUqAeJvoMHsUUGv/kdcOGBwNb2EARoO741plp0kekFYPnbQI9frWyUT FtWqBsNCorFDIPeEHx6DlXysEFSWIUhoaWBgzUY9sKYfm3V9SyyBwRaf2zj/Pwa1Ow1LIRvU00NJ9 YiLrqGZ6GQR1DdM05gVbvPqxAVvyWPc3mq9ztdoBk8zlWJuaYhxG/8+5rUhgNUp504Y+0ZlkN8Hkx SjDl9Pug==; Received: by zero.zsh.org with local id 1pKkU8-000Dhn-GD; Wed, 25 Jan 2023 18:27:00 +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]:46600) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1pKkTZ-000D1z-0u; Wed, 25 Jan 2023 18:26:26 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta01.eastlink.ca ([24.224.136.30]) with ESMTPS id <0RP200L5V043OPX0@mta01.eastlink.ca> for zsh-users@zsh.org; Wed, 25 Jan 2023 14:26:23 -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 KkTXp7WnfjOrIKkTXpN0dn (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Wed, 25 Jan 2023 14:26:23 -0400 X-Authority-Analysis: v=2.4 cv=Kv6Lm0aN c=1 sm=1 tr=0 ts=63d1744f a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=ysL1Io5NZATKnbwbzxAA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddvvddguddugecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeeitdejffevgfdtheeggfetkeeugeegieetuddtvddvudetteffvdevlefgueekudenucfkphepvdegrddvtdejrddukedruddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudekrddutdekpdhhvghloheplgduledvrdduieekrddtrdegngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepvddprhgtphhtthhopeerredprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <9b64443d-2d97-a4d9-0028-4b950c319c1a@eastlink.ca> Date: Wed, 25 Jan 2023 10:26:22 -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> <07323898-9985-4e9f-8b54-c08fd8510fe8@app.fastmail.com> <08102bc6-b331-504f-fcd5-28fa3cdb0e2f@eastlink.ca> <00818033-2566-52b3-33a9-62591a93d707@eastlink.ca> <394f641a-318d-4e87-4f9d-de54119b7dc7@eastlink.ca> From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 28795 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-25 09:37, Roman Perepelitsa wrote: > > This value is usually called "empty" or "null". The parameter is not > unset though. > Ah.  Ok, that's the correct terminology.  Yeah.  'unset' implies the var itself does not exist vs. having a null value.  So how can I check for all null parameters?  As previous, I think I'm pretty close.  I've noticed that over time editing functions, they can accumulate dead variables and the above is an effort to catch them.  Man, I thought this little exploration of the params was going to be simple ... not so!  Come to that, how many fundamental types are there?  I mean an exported array is still, fundamentally an array.  A tied array is still an array.  But an associative array is a different sort of animal, so I have: scalar, integer, array, A array, .... what else?  There'll only be so many displays for null params and when I know them all I can catch them all.