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=-6.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 22721 invoked from network); 21 Oct 2022 19:11:20 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 21 Oct 2022 19:11:20 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1666379480; b=Bb3TCKdX6H2PxtHvW4bIagun4gf2KJhW+qGCC3oi8MkYr8wDznYSrPr9QjUYlHcbdbcmhelTkp EWegrli0DHGLEKZP787FzLxcvayaAd/1FFUVL/FDXxAw1rtqNSHnCFVD6vQRJnlMXi5HdV+bR7 Mi9h7enhJQkYyxi4j/0UClzY4MBOtcv+I/lvop5+p8VX51W2YHCdBO5qXlgVGKFjYFYLsk4mRg mQA2LOIth/v35r8ZDLotlZ9peJ51cMFik5SdxLa77qeYHH16xkn6uPdwhTXKKysTJhdW3+whLG GwSt6EEChaWmuskZKBdmUVhN0o4pZMjGSVXO52CPs3HqJg==; 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=1666379480; bh=hUUMFAZus2Xn0FaHUy8MJiy690Sc6Oo8YyznFwjs0Ds=; 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=aAYXEjGzw1FB+7vyn3U4LguZiN4oixxTqF0pVkR8alCjSB7K31NrtFuFl6Klw3XvX3tIKcqvqR KFk7PfFNrjKXbZb5GEeqwKqnJfYUM38Xa4Vv2jQxxwGNtP2wlcx6e0DplaSn16eHxUjAFeOMIA Ckufof2E9sfsDt34jPo5eORNhECoMh9Ya2iT8Oam7RNV6dNtaobjDMwjXKgM1v2ZaG9TnUXfdJ /ikOF78xUiWXCxhyDkAYQtdcSYUf7BJbim7nyDVyNmPtZS9lFj2fWf7ESonipqj/qNAh9+hHtq 1VYvwBWV8NnXg9apyJe/wG46hUMLJZTGolYME8fgXOxHdw==; 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=+J8FdnwK12YvPCtRoVXr6TieezmNEmTyFBpG4cZS+Y8=; b=Sl/Ahg6GCL8W9e8sSwmkUY+jZC Tmmhx4hiqemfwIUcEc80pIIIPaIU1iEQJ38glq0JjUwQHRDCfzGgnDa6+urfBsk+3dk04wwnKtP2T brF9wc+SRQ/ZHG2kznV1LXepb8ifyyOmRxn/LrCekciLoc2pVm8Hi2MAWLp+jewyoivpTTzyvWsw5 b59fFu/3qYO915eKsFgYqWolcL2VyGXR2CYbxyOGLs+cS2IQiXaxMRPd8Hd1AMg4jYVVnpG2EKE0k 7xpJ/SVQKjZHW5Rof5JhYDNkNf0jerE/ITO+LADalox0/RWpHPae38kJ9La7RoNUTKLLT0s2AccRn dFZlhm4A==; Received: by zero.zsh.org with local id 1olxQO-000Jvn-Gg; Fri, 21 Oct 2022 19:11:20 +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]:45275) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1olxLw-000I49-1i; Fri, 21 Oct 2022 19:06:44 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta03.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0RK4001EFACZ0NS0@mta03.eastlink.ca> for zsh-users@zsh.org; Fri, 21 Oct 2022 16:06:43 -0300 (ADT) Received: from [192.168.0.2] ([24.207.18.108]) by Eastlink with ESMTPSA id lxLuoOBjnG1iNlxLuoC3Rs; Fri, 21 Oct 2022 16:06:42 -0300 X-Authority-Analysis: v=2.4 cv=Ndkja0P4 c=1 sm=1 tr=0 ts=6352edc2 a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=T4z8RYx30AgRatmacQoA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeelkedgudefudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeevheetiedvieffffeghfeuueelffelhfekfeehkeffteefleetleehkeehteejleenucfkphepvdegrddvtdejrddukedruddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudekrddutdekpdhhvghloheplgduledvrdduieekrddtrddvngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepvddprhgtphhtthhopehrohhmrghnrdhpvghrvghpvghlihhtshgrsehgmhgrihhlrdgtohhmpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: -100 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <65896e41-90d8-a041-0eb8-488f28a9fa4f@eastlink.ca> Date: Fri, 21 Oct 2022 12:06:41 -0700 MIME-version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: var=$( typeset "$1" ) ... not within a function. Content-language: en-US To: Roman Perepelitsa Cc: zsh-users@zsh.org References: <6c9c8af2-9e00-ab2b-e7df-0c9abeedbc5c@eastlink.ca> <462ee72e-2501-3c7f-b323-4bf3a1e2a228@eastlink.ca> From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 28258 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-10-21 12:02, Roman Perepelitsa wrote: > > Now that you've described what you are trying to achieve, it's clear > that using printenv is not what you need. Please see my last post for > one way of printing parameters whose names case-insensitively match a > pattern. Thanks for that, I'm studying it.  Nice to get closer to the root of the issue, and that does it. > > Roman.