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, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16411 invoked from network); 26 Oct 2022 21:58:21 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 26 Oct 2022 21:58:21 -0000 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:Subject:Cc:To:From:Date:References:In-Reply-To:Message-Id: Mime-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=dn+wsSTm6cXkyFs+m6BxrwUzyhT+UNs7mn3RAwslFS0=; b=JjqN5f2xeomJVGpIenznNh6kLc O3O28H0muG2vlhZ9mrbd/bBrUvdH3PGkJAyZocMChtjSJdFv6AXymeXIeASa8LmwzcRvgKqRdFz7O bvjoEvgs9XZXCh0KRm74aTAe3ZdUKyPLT/uqhEUyjiddTOEevDC556U/d9VGi+4Jq6KIog1miZx+X FoY/8z3Wc7tXheJTbCXSDxn+apIZoEjBvYhORI87raIEBxfQBrEUZGv7fvp5i+sRprXCXfjyH5jCZ jQFOwVDKKwilAnuPrh0wYK6eOqCBvHpmVRJ06IA/etmO+I4HTtEdWWRwKPKJ/95mbQBs5f1t5LEwu APJvkhjQ==; Received: by zero.zsh.org with local id 1onoPl-0000lg-6J; Wed, 26 Oct 2022 21:58:21 +0000 Received: by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1onoP1-00004B-Jc; Wed, 26 Oct 2022 21:57:35 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id 59C8027C0054; Wed, 26 Oct 2022 17:57:33 -0400 (EDT) Received: from imap48 ([10.202.2.98]) by compute2.internal (MEProxy); Wed, 26 Oct 2022 17:57:33 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrtdefgddtgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgfgsehtqhertderreejnecuhfhrohhmpefnrgif rhgvnhgtvgcugggvlhojiihquhgviicuoehlrghrrhihvhesiihshhdrohhrgheqnecugg ftrfgrthhtvghrnhepheegieduieegvddvffdvgeefuddugfetvdettddtfedutdejvefg jefgveethedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homheplhgrrhhrhihvodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdduudeh udekjeejtdegqdduudelvdejfeekhedqlhgrrhhrhihvpeepiihshhdrohhrghesfhgrsh htmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: iaa214773:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 2917031A0062; Wed, 26 Oct 2022 17:57:33 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1087-g968661d8e1-fm-20221021.001-g968661d8 Mime-Version: 1.0 Message-Id: <9ff6d6a4-338c-4797-887f-c557eccfb020@app.fastmail.com> In-Reply-To: References: <69b17354-ba70-5e88-2d89-1306fe4e8795@eastlink.ca> Date: Wed, 26 Oct 2022 17:57:13 -0400 From: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= To: "Ray Andrews" Cc: zsh-users@zsh.org Subject: Re: can print but not assign to variable Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Seq: 28274 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 Wed, Oct 26, 2022, at 5:49 PM, Ray Andrews wrote: > On 2022-10-26 14:38, Roman Perepelitsa wrote: >> $ var=3D( (#i)$W/rap ) > > :-) > > What do you call that construction?=C2=A0 I know "(( ))" and "$(( ))" = and=20 > "$()" but I don't really know that one tho I've used it a few times on=20 > faith.=C2=A0 As usual, if I knew what it was called I'd read up on it. 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. --=20 vq