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 30019 invoked from network); 29 Jan 2023 02:31:47 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 29 Jan 2023 02:31:47 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1674959507; b=i8fLw7lmuBvltdsY9Aw+XVNQRyzjSWI9p1UJN//77OnihLfJstE5LvJY/SQrteHrppdAC9RdjU 8n8A2viijhc63vryrEpgOeogByfOmYMaSyo6RxyHjbkgHX67f4zS+0C5NU1nsvLQnKgU0HPo+u S8loelf6If7K+3BP9ZvLLDm2cIofeQuChQnXghAgrnsajqk5dxfw3sf27Gwgj68G1IH1lggLif PgJPvzPJXGaQwqgXZ/qImWWDUtgRaVptKf8NCYT8PtiyOEbew+UBZq8Np3oCs4CNqcS830kfxp kaK69ixoHYDP2B6kzuZZoX+LoxKPQJfvBJ8dP59VBsSusw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; 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=1674959507; bh=KtV7Su1ZbUVTxJxUORVnTqrmIuMYaxxG+V5UmkQecJU=; 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=TxdsXpULjueiOWGMC1UDJ3A0JcUry3WJfE3+pPSMJtpHxIpvnHdV5RcgZbKBZbCtG810atUZ3b gaiFwnyUn0UUaioTDFw72BkQ2owMyAx/weRNQbCbZXosCv0zOPaAjMPpQ9nikHWCbVM/oGoE4I 4xE/FM7j0i6eS8FvTIHcrIFb+GmTHCRNnLacE7WMqcDlr5iryCZRK1pAntZCClMkztAEr8t1c9 O+AMIowxjYegotrR6L1wM4VP35blFng491fmzNJC0buEPy3GG2760gqOaga1tddlnhNZwdl4Fu utcc4IPymyaYE1HUiTpIxKbjx0rNd5+HH2L/CaS6KsAbfQ==; 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=mBTsJFCwCQbolar+pmm8BZgvbuxwYmknkAqf9Bd4Ggs=; b=YgQJO25rqxYzIeSiRLO3JtqQJi D4IGgdxOeq3vRU0es2eQq1kg9SauHq15aoUAz41+Afwl80vkvc5vNvvK9CjT6+EaNeFSjQNS9eUZy DoDir6kZiz4AVWp3nZm6UgqgqEPGdMztO7t8jwWW0+i5XM1SQ0vYBo+LXO8UIoqz0z5iOkOiavpns VDz/2lRZUAN/5Qvwb6d+qPL5OyL9JUtprQTe2gNsv6Sao7JNhEV6Z0b4ivIRhGaMCGvTQexlMYWhx tDirM6iZJ9WAgXnSOI9ncG2XX3jO+J6ehKI6e3B/NeFkZW174WfAr8crI+aZ5/epJiHDKApzYsGr6 uYhsbWlw==; Received: by zero.zsh.org with local id 1pLxTt-000Bmr-9S; Sun, 29 Jan 2023 02:31:45 +0000 Authentication-Results: zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none Received: from mta02.eastlink.ca ([24.224.136.13]:56943) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1pLxT9-000B83-GE; Sun, 29 Jan 2023 02:31:00 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta02.eastlink.ca ([24.224.136.13]) with ESMTPS id <0RP800HGT6FDBIV0@mta02.eastlink.ca> for zsh-users@zsh.org; Sat, 28 Jan 2023 22:30:58 -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 LxT7pHriDjOrILxT7pPJX6 (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Sat, 28 Jan 2023 22:30:58 -0400 X-Authority-Analysis: v=2.4 cv=Kv6Lm0aN c=1 sm=1 tr=0 ts=63d5da62 a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=6ZRQRh5zQjy7p4xjOQ8A:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddvledggeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhepiedtjeffvefgtdehgefgteekueeggeeitedutddvvdduteetffdvveelgfeukedunecukfhppedvgedrvddtjedrudekrddutdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrddukedruddtkedphhgvlhhopegludelvddrudeikedrtddrgegnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepreerpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <4993b3f3-3b71-fb80-fd60-3e72170989f2@eastlink.ca> Date: Sat, 28 Jan 2023 18:30:57 -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> <30292878-d596-75cb-8dc3-f64f9b82a44d@eastlink.ca> <3ea702de-f818-adbb-c55b-e585f8deb10f@eastlink.ca> <1a232406-ad76-b661-496b-974ddf8e67fe@ckhb.org> <8f626e62-312f-06fa-d073-5910d1aba3ad@eastlink.ca> From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 28841 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-28 14:51, Bart Schaefer wrote: > So why not get rid of "line", go back to printing everything to ... Heavy duty suggestions.  The difference between your level and my level.  If it wasn't presumptuous I'd just ask you to clean it up for me and then I'd study the changes.  Otherwise I'll see if I can understand and implement.  I know my code is amateurish.   Ah, for a master class, where I could have all my code critiqued. > You're the first person in 30+ years to ask for this, so it's not > surprising that it hasn't been done so far. Can't argue with that.  OTOH most people conform their expectations to what's currently available -- basically they only ask for what they have.  But if better information were available, they might very well come to value and expect that.  Not to wander too far off topic but Windows users think that Windows is 'the universe' and that there's nothing more or better to even be contemplated.  And when you tell them that there is more and better, they aren't even interested cuz it would involve expanding their tiny minds. > I still don't really > grasp why this is helpful to you (especially when what you do with is > it squash it down to a bunch of cryptic one-letter abbreviations). 1 /aWorking/Zsh/Source/Wk 1 $ v path Stes  PATH = .:/aWorking/Zsh/System:/aWorking/Bin:/usr/local/bin:/usr/sbin:/usr/bin Ats   path = ( . /aWorking/Zsh/System /aWorking/Bin /usr/local/bin /usr/sbin /usr/bin ) ... ... because the above is accurate.  If that information had been (easily) available to me, this thread would never have been started.   What is a tied variable?  As we see, a scalar is created from an array, named in all caps, and then exported.  As it was: 0 /aWorking/Zsh/Source/Wk 0 $ typeset -p PATH export -T PATH path=( . /aWorking/Zsh/System /aWorking/Bin /usr/local/bin /usr/sbin /usr/bin ) ... and I'm interpreting that as saying that PATH and path are two different names for the same var.  It seems like so long ago :( The expanded 'full-word' descriptions are of course available, but with the compressed form one has room for the value too.  Once I sort out your suggestions above I think I'll add a 'full word' switch, but without the values.  Mind I already have that with: 0 /aWorking/Zsh/Source/Wk 0 $ allvars ALL VARIABLES AND THEIR TYPES: $                         integer-readonly-special 0                         scalar-special aa                        scalar a                         integer aliases                   undefined ARGC                      integer-readonly-special ... zsh_eval_context          array-readonly-tied-special ZSH_EVAL_CONTEXT          scalar-readonly-tied-special ZSH_NAME                  scalar ZSH_PATCHLEVEL            scalar zsh_scheduled_events      undefined ZSH_SUBSHELL              integer-readonly-special ZSH_VERSION               scalar ... work in progress of course.