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 17753 invoked from network); 26 Oct 2022 22:08:53 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 26 Oct 2022 22:08:53 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1666822133; b=o/iKae0+NaSP5/VmKmCMYhrx1vEtSe1ZcjFMKE59hSfFj2ipVBTZO27LXSZYeIWOYZv7kA7N5f 6dGHhZVQWRK9/PKmnAGveelNoOrS5H6cUoSvqjEuh065T6ZuxYFdV1Xhw+bmT9h0o+LKJjPpEu Dt58897+QrhOCK/mjlB1RfJnwjKP/du0eCQevrnlw06KlVKSC1ddKURXr4jCVEY/rK9A7b1SYB jz0lsytUpQv6UnBwz9PRi0TDAoVSHDhzbvSXlaevQu9vXoz+pU62gMZ2ugzTp00Fj5jOr7FRT/ HVKzr3Fsq6WFSeHNS7wYJycVuF1LIqWBPfibGuBZUo2ryg==; 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=1666822133; bh=5qvsXOhrE4aUDy8Cb8TETjVDTGgLyV6LkMI+BBp+Tdg=; 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=LaCNP1Rs8eleXsV6kGJc2DPmhoyEnsBeDGjA6X7NwJC+ns5+4L/nj0/HvhlyMtYJLtx6Bxm8wY qJU+tXSm64pjJqaDfClKDnSU0nLW1sMC9V9641ZOMDoEXsDmxGJoOKyo7XTj1ePuv5wuourGQA 6WFA94U0lLX7UAOMAPpys3qhTEgrnT8N69oXbVABmwgWHWrNoPQU0yoqJONNdrK5aViLQ0qF5j QD9IU1gAG1M3nneo8xGDc8e//RmcWP1d3eKCAscZHDjxnsl02iggntXIJrwBrXid0nj3Gw6eTR 1coO/Letip//6sGm8k2ZZbg9IH9cIp1cjQRKOOYpz14wmg==; 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=pRlOgqh1mumgqwCdCopYTCP4AggEGkEPnsLzXUt9/+I=; b=seroZSrgYo9MFkA6zrISdFCYFI UrVchpO54T+kMzrCMYQmE6gspTn+HbhN7iJusR9p6kaMt19yaVSE/htH+AasR1dOcnJC9v/PUJLA+ RDCwiLP9TzsNMbiaayxQTYtvdpNHa3kKYFBOPs+4sXK5am9vQ1KkQH30mi+V61kkjga4GK4IHU3nf dha/6DG1IBdG5zmgeiSsqcSc2m1YuQSArgZvfsfxHUlyU6+21Pyr/RxsPaf0gB6P69HTRT932eSIc lez/o+MrXuPciMY/1KwcFiw4prM8IA7IhMB6uOnpFGmZDsixLBlhycSxucQOi9+pzCESeW3go4fIL CWvb4x7w==; Received: by zero.zsh.org with local id 1onoZw-0002G9-5N; Wed, 26 Oct 2022 22:08:52 +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]:51043) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1onoYQ-0001Tc-7N; Wed, 26 Oct 2022 22:07:18 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta02.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0RKD003Q3MKGSEO0@mta02.eastlink.ca> for zsh-users@zsh.org; Wed, 26 Oct 2022 19:07:17 -0300 (ADT) Received: from [192.168.0.2] ([24.207.18.108]) by Eastlink with ESMTPSA id noYOoOLFmIeZVnoYPoFSRf; Wed, 26 Oct 2022 19:07:17 -0300 X-Authority-Analysis: v=2.4 cv=Meqq+bzf c=1 sm=1 tr=0 ts=6359af95 a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=T_iqntMOQJyXo30nvosA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrtdefgddtiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeeitdejffevgfdtheeggfetkeeugeegieetuddtvddvudetteffvdevlefgueekudenucfkphepvdegrddvtdejrddukedruddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudekrddutdekpdhhvghloheplgduledvrdduieekrddtrddvngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepvddprhgtphhtthhopeerredprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <8276c2d0-5824-c02e-d493-b801b2b4a225@eastlink.ca> Date: Wed, 26 Oct 2022 15:07:16 -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: can print but not assign to variable Content-language: en-US To: zsh-users@zsh.org References: <69b17354-ba70-5e88-2d89-1306fe4e8795@eastlink.ca> <9ff6d6a4-338c-4797-887f-c557eccfb020@app.fastmail.com> From: Ray Andrews In-reply-to: <9ff6d6a4-338c-4797-887f-c557eccfb020@app.fastmail.com> Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 28275 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-26 14:57, Lawrence Velázquez wrote: > >> What do you call that construction?  I know "(( ))" and "$(( ))" and >> "$()" but I don't really know that one tho I've used it a few times on >> faith.  As usual, if I knew what it was called I'd read up on it. Ah!  Yes, I do know that.  Yes, we must force 'var' to become an array.  Stupid ... when I'm doing it with understanding, I get "( )" just fine, but when I don't get the necessity I'm lost :(  Ok, all clear. Tx Roman and Lawrence. > It's just an array assignment. See zshparam(1). > > You originally attempted to do a simple scalar assignment, for which > globbing is not performed on the right-hand side. >