From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id C211023DFB for ; Fri, 19 Jan 2024 04:00:18 +0100 (CET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1705633218; b=BNK+zLuudji6Z1l5KNNFQiwubBW+epJA9aXgohbQ7xVe8o9r723STtxcoqaJxpayhUcV97DXwK dNdzkCaP5i1iTPmOqBnua/uZa6H5tOh4oh60DllSMb5HFKjwEHQS43F2WXi1KsMeZ8w5j7z6z8 U+tBZ8CXyCxzjnGJFJDTFshyRYuARfyKnq9k3F+lhxT0bGv98HNCsRTEPvHwtfS+xBJRXSJWzO 0aIzwbL5Dy8kKoZdOqliy7a3qAT6d/DbdKl+3FoMNVmDelZupj/O/kAHg55KfZdg/ZDLFdZa5H MsRYG6+SGmFuRZkMFi399bHZrM+P0lxpf3HYULlcqunESw==; 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=1705633218; bh=R2RSFMPtNtsIwsaASzzBvxHQsFDC9AMbZ85A2HxyM9I=; 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=kCQdQEnN1/3MsXNw4fQ8lSs8Q0yXtIC+sDiV6hVeR+x+vTFLnl8qUKL4vqp4YZH8avrGMJdmPp 3Kunm3t+n/TViSXafB5oLm0Ewd6T81SIduERxEPplj3doc96LfrCFXfksul1Sz5v2ONNy7uqw1 cwUx7GZlWi8RtfT+4ZYsYY6hjHYg8N6tApnFA3iemKUrFVRoStF4v1AfS4vk4fFRS8RT0Tp6jT UVZlFve59QZKfIIUn9HNDby+NGmoCiuUHFeAxZXtrBZik6l0ehf0akxwWKXqC+1gUHCMUtKfnW I1Q2fd8kqEGXdgwj2d3M7Z6vnObrEU/G/rXe8l6iY+ETcQ==; 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=8xN4ROXaSoWJOJWooGLYXSwklW9WI0mGUYlumxsEO8w=; b=G1I92KnJKBzZFIbjX9PLzce6dB FxvtShP3mlzu1BCCXyDNn/wulw2QsqwJxve2HUCfPfD5Kj94IY2RipayQlzEKJmOih57d/P4IIReM B1ABQUjQiZHuduckq+tA9Rre0HBjMP+RmfuWSwI5bdjyQS03EqXoSmX6NOsLF7I6luWygmseyXfVa FpRkjBY8kA1FJ6wi4jigjrF8Y5JG102r5p/vtuH4p6LMcr9BQRFbfN7CiWw4ojs+Wo/yv06RYAgRx e94U3Au2cqx+7tvVJLUN6a2qWJ+SIvsp6xJhkWx0vljqn86ZSibpN3HQfm5Jp+NK1F+nC86sR45Aq +PD1HbwQ==; Received: by zero.zsh.org with local id 1rQf7C-000JSe-7d; Fri, 19 Jan 2024 03:00:18 +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]:46513) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1rQf5g-000Iea-Gq; Fri, 19 Jan 2024 02:58:46 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta03.eastlink.ca ([24.224.136.9]) with ESMTPS id <0S7H17R4YMWPRW60@mta03.eastlink.ca> for zsh-users@zsh.org; Thu, 18 Jan 2024 22:58:43 -0400 (AST) Received: from [192.168.0.11] (host-24-207-19-13.public.eastlink.ca [24.207.19.13]) by csp02.eastlink.ca ([71.7.199.167]) with ESMTPSA id Qf5ersf0jtqGEQf5erI4mZ (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Thu, 18 Jan 2024 22:58:43 -0400 X-Authority-Analysis: v=2.4 cv=Zvoraf3G c=1 sm=1 tr=0 ts=65a9e563 a=e7T7DzMKK1R988ZCg0wLyw==:117 a=e7T7DzMKK1R988ZCg0wLyw==:17 a=IkcTkHD0fZMA:10 a=gir0-LH0AAAA:8 a=iJWvb_baBKrDacVsLJcA:9 a=QEXdDO2ut3YA:10 a=aLewGyoHDmJ4ULJHWpSz:22 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdejledgheegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttddvjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhepteffhffgvdeffeelveelhfegudevkeduhfehheevhfekhfevieehjeejheefvefgnecukfhppedvgedrvddtjedrudelrddufeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudelrddufedphhgvlhhopegludelvddrudeikedrtddruddungdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepvddprhgtphhtthhopeerredprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: Date: Thu, 18 Jan 2024 18:58:41 -0800 MIME-version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Empty element elision and associative arrays (was Re: Slurping a file) Content-language: en-US To: zsh-users@zsh.org References: <205735b2-11e1-4b5e-baa2-7418753f591f@eastlink.ca> <7b20b425-59b2-466d-a9aa-a2768d1d4633@app.fastmail.com> <4b475319-ef78-4d46-a62c-27c3b0af3ea4@eastlink.ca> <49702cd2-814c-4461-9819-cc2b85bd3ea2@eastlink.ca> <50941e8e-86e2-4e89-8644-c863f846e805@eastlink.ca> From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 29520 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 2024-01-18 18:46, Bart Schaefer wrote: > On Thu, Jan 18, 2024 at 3:08 PM Ray Andrews wrote: >> How hard would it be to get the first hash 'right'? > That's not how hash tables work. I have no idea how they work which is why my comments have little value.  If ksh can do it then it can be done, but as I said, it simply might not be worth the effort and I'm in no position to judge the matter.  I wish I'd gotten that far in C, I'd heard of hash tables but never coded one.  But I did note in that code previous that the order seemed not to change.  Nevermind.