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,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 17885 invoked from network); 5 Dec 2022 02:05:58 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 5 Dec 2022 02:05:58 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1670205959; b=pXdiwaSalQKQWMcNYB+jejU6w+cX+tJ0tCVdviSlvJHMgKjUp4YLp4p0H33YF4TeWoYh1flYfV YFmOb/vRDwN8qSR5iKzVY8e2M++nzt2Tt33x5ep3hlA0Z9IIuLdbIwDxyzE/9vJLETtEWt2oHr iYx0Ub30s0hhdCwQahmLCnwjRsZkp/P8vIzgKaoSx8r3bi6ThtNar7CIVFID2lElrZeusGjDRM VUqf4J6h5X5343vxyOF7TOFPvmkzWywuyNP6osRLQFyP9piMXCYPkuP0FqmJa3eX3NqJZ5ZIQt aECb4MmVVFQngtJbMh3rntEj9CPy/iZLHyJNpZtIXqhgbw==; 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=1670205959; bh=EaS+orTzb26nxzjxaE7sIfst8ADyGA1ZWdLgwyfDLDU=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Subject:From:To: MIME-Version:Date:Message-ID:DKIM-Signature; b=ewO5HGZCZUW09wIgLnGn3w6OrTJzspSWuj26a1CnFhDbvnykVCSHpaJKb6qHW1kXDB0EsRbHNH Kwpqeh5shJ0YO7PC8OeLXAaGmaDOZVvFt2eit9Lbzdye3Cn5Fjp7XV8dQes+DfGj0ElZPyq4CH PRChM3E93e7/hRa4XL/RERprL1tqAXTWPtMkbl2z3/sAfBnyimi4fOdEa0u7KbQGlLlWmKnszF mn1L7ZYmwNfOCVZCefFd2ncmvnRe89QuhDG51iPfCtxbLcR8lcnTbQR/kn6H7MIbDMnK+jNEu5 vgY0zIJL28WUnTYx+aR+my5S9K/TH+CQ5VJw1pE/lTyUKg==; 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:From:To: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:In-Reply-To:References; bh=YVOER1v/TFgz11eNoNO4VB3v5XZ4QO4WeozwJQmkp4A=; b=rmt814MET52qeZ38IjuaGh84D1 wSMo5DY3UD3OJJn3TPin88LRRkwreDdPBp1Fv9qk520oYsPrWk/VCfUrHCWM2eIbJxY5YhvPjz772 /QyVtVho1m2xUCp6/zLZ9kyK/o/v8nX53B4BFEuGUTu0d47Vh5Wu+60uJ1M99eg/yvG2QhZA4sBTO wlsKxicCRtuxnP1fp9qoT2IbQmZCouOT1eI4CpIltQz8TW9+tMxDhBadPGSPySVhwXaRHBsi+Kqim ReM1D+vGQ2A0pPCQtoYowOYJNvsWNnC6ZrLWa07532m/6m2sZ18RzcGWbxWWwQ2mk0JT/+mtK792Z gOFB5zXA==; Received: by zero.zsh.org with local id 1p20rl-000A0d-CH; Mon, 05 Dec 2022 02:05:57 +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]:41335) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1p20qy-0009LB-Bt; Mon, 05 Dec 2022 02:05:09 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta03.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0RME00H51AWW6RJ0@mta03.eastlink.ca> for zsh-users@zsh.org; Sun, 04 Dec 2022 22:05:07 -0400 (AST) Received: from [192.168.0.4] ([24.207.18.108]) by Eastlink with ESMTPSA id 20qwpdEN3eLAh20qwpSzdJ; Sun, 04 Dec 2022 22:05:07 -0400 X-Authority-Analysis: v=2.4 cv=S7gfgqgP c=1 sm=1 tr=0 ts=638d51d3 a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=Zq8vqNRiGcgWzTDzqLkA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudefgdegfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfvffhufgtgfesthekredttdefjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhepveehudegteeiveevieeutefhffelheekueeghedthefgteejvefhgfekhfeigeffnecukfhppedvgedrvddtjedrudekrddutdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrddukedruddtkedphhgvlhhopegludelvddrudeikedrtddrgegnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepreerpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: -100 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <9d81fc7d-aa60-9b6a-47df-6fc677b933f9@eastlink.ca> Date: Sun, 4 Dec 2022 18:05:06 -0800 MIME-version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Content-language: en-US To: Zsh Users From: Ray Andrews Subject: trivial question Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 28476 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: Running this: var=( "now is" "the time" "for all good" "men to" ) echo var[2] ain\'t nothing echo var2] ain\'t nothing echo "var[2]" echo $var[2] ... I get this: 4 /aWorking/Zsh/Source/Wk 0 $ . test1 ain't nothing var2] ain't nothing var[2] the time ... It hardly matters but I'm curious that 'var[2]' without the dollar sign evaluates to nothing at all.  I have zero need for it to do otherwise still I'm mildly expecting it to just end up as a plain string the same way 'var2]' does.  Seems strange that it evaporates entirely.