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 8500 invoked from network); 16 Dec 2022 21:37:01 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 16 Dec 2022 21:37:01 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1671226621; b=Gx0cvn2WO6EY4PjCdI3kFlxVgWLn4MkJc1mmEXgv+rnkcJjdc9W+fKw+gfi3QSVdSXICbkfbcw hfsggGj1VE7ymaUf6A0oxs97X2NW9zrXrxorptw7OB2rKbZyMjR1f+CympiOW8CV6kVS2L04sk 9TJos4iebesZfndgKR1rKk+mGr4h8qhjmg/GrCSy8CQVl/Zn9s8uPUvXJp90SbJxHjrJngwuCw mV9GBqj7W/8x5j02aExzvxvPu7JROhSSQsp/HECybjqQTrcyIzdprtY3en506OSRFTBclRGceH m/piT8Or9J1VsrM0SHdsKdpYndbGPlafInqcPbZ0CGFShw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f48.google.com) smtp.remote-ip=209.85.208.48; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1671226621; bh=jObI0EAOTpVhMD9F1WEFj/0Ry+N/6QKaCLQoWXEsFbY=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=kDkPnYnzqonQbSOHa09HiBP+AM7UMVn0Fz8YVnNEPIRhCSjPvgN0BFd/YJ+2XZlNxQyMjKUPuR 1k/o4x2+JdelNr5W4FSedj7lxbBrNPg0G3b18bNEnBJwvCg5SnSEOsH1tFYkwQJpqK8Xxez47f yLo/ply/w226qBVGm5DHNfNfw3JT8IqlGZJwnLsCK/H+ONcXojaubok9+fycKsZ/pTIbSNeewV vJQRbU0gsG/LpLfwLLmKFe3tw4VvMn93MyzY0Qg6grE5PWb8rFTl46O5BJV4hrBMw0mktjYZC4 rz/nInzyRJBa1LtpScV9lVco1AGyGITsAw03xbcAZGX7xw==; 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-Type:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=ET9IHC/DxH2iCv//gNeBFAEIQ9gOfAm515iRNDaP4Gc=; b=eeGE1NXbAbp/ypQMvcSpLZf3pX bL6TzCW37q7pl1/dMLcWQYTxViXB9nBJKmiUtQ6irUdKWAwdvlPGeUb7sLDh3JVyh8iR/sTTy9hhH 3fWDQbO4YD6RFPJy383Krzy1HB4WaiwwZURWOzrWqdrYwNYRWuELvq5peei45Ji/FNP6FrbYCJlOl 7EPp6GoJLx+8lNE3CRDFK6v/gP3FU0Y2caTEiwFjb4BI68KYMT/bd+2S2CQ3HssLWbrhoz60pSkx6 MBwZun93P9Y1H0Vf9qqnIuKu6rdpoyp+gbyyJgkRJCoGsJPFDh8h50gKSCYbwXR//XMKifQK2tLxJ +0IyUUKQ==; Received: by zero.zsh.org with local id 1p6IO5-000655-AT; Fri, 16 Dec 2022 21:37:01 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f48.google.com) smtp.remote-ip=209.85.208.48; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ed1-f48.google.com ([209.85.208.48]:43700) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1p6IKk-0004KZ-7l; Fri, 16 Dec 2022 21:33:35 +0000 Received: by mail-ed1-f48.google.com with SMTP id r26so5369098edc.10 for ; Fri, 16 Dec 2022 13:33:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=ET9IHC/DxH2iCv//gNeBFAEIQ9gOfAm515iRNDaP4Gc=; b=hvul/hVUjKPDT2YqLNyKIyuLOaJato3IvBFSdTpzfwuAymknqXZCZqN+nZV2XHwJDF nd6oH4n3LVod+1uze5QDTvrE4EFM958koQTRuRlXjMmAMli+Yiz+zJy9lSkBRx5xYm0E d6mP0Sl0LPNCwXcI2aO56HL8BP4cW4aJeWRGXfilijG8NFQ8oQRmPkPWv0vaqZxWlzG3 fSYJkHFykARQOgmvHuHLzjuG63uQxuL7w0gcRhDx6vQZAGiPn6TtFlyxAqLSv4oNXPqM 4WJTyZocHNN5giBS7XI+OdVeV3/FubXeMuyNz5XsIn5XXrfLup9VG4iflquFo0BXJG6I a86g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ET9IHC/DxH2iCv//gNeBFAEIQ9gOfAm515iRNDaP4Gc=; b=57Ata3IlsGaYAW7EEtDrtbqSYitlXYd/kIhBpm9/RDDJIIBhJwq7QfTAuQs4NexWIR uyV0+/UCd+q6dYQZQNlJiUrj0vx6x7OYFmQWJzLdaZ/+bRqH6toEc3WVh17CgWT4vWXA DgIvhk4LJ/WBwofnhK15525QOZfuZj1ltEu5wbpBcs7KR/OZYE8QXLRGvcDEAW7cX2cV CHPJYWYY6ukhtPqrdQbb8onUlQ1CPA5v34FhfS8HkWJ2lNQsPeomMlUrzswoi9XrpoXz FxP3aWLMaoPs5dvml7JDVJAwXwsALtyjqKcZSQ3PCHlpX45rvxZN7Gwujz2RHpftySzh Skrg== X-Gm-Message-State: ANoB5pkXwRZ5kRVHgtwyKEyXDqgyGXPvcdpfA8Ak3My/PBc3+N0s5xTA 4jueYT8BBp8aAeyBKaESoenF3OzjwvXheD6nL1HNRL21PtZglM6h X-Google-Smtp-Source: AA0mqf54qp9C1QlbIruzSbIV3cq8MqhEqhZ/5/MqzoJgdT5F5HoDHXC2l/lFFxnp1Vl73kY5lVmUQNG2/mOlXorOfAk= X-Received: by 2002:a05:6402:24a1:b0:463:e963:5149 with SMTP id q33-20020a05640224a100b00463e9635149mr87431772eda.219.1671226413936; Fri, 16 Dec 2022 13:33:33 -0800 (PST) MIME-Version: 1.0 References: <46161d8a-c177-4134-836e-592e5c048887@app.fastmail.com> <902fb047-3435-89a3-e7ea-74e74075c2c6@eastlink.ca> <09d09690-08c8-4499-9011-9c45d7676f52@app.fastmail.com> <81952d4b-3ead-f912-f987-fe9a37dbd256@eastlink.ca> In-Reply-To: From: Bart Schaefer Date: Fri, 16 Dec 2022 13:33:22 -0800 Message-ID: Subject: Re: uninvited members of associative array To: dominik.vogt@gmx.de, zsh-users@zsh.org Content-Type: text/plain; charset="UTF-8" X-Seq: 28568 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 Fri, Dec 16, 2022 at 1:15 PM Dominik Vogt wrote: > > But variables are not even a real part of the shell, the shell > script or its data. Every process has an associated environment > that consists of "key=value" pairs. This is entirely untrue. The shell has a separate parameter space that is unrelated to the process environment. That's why the "export" ("typeset +x") command exists: to move values from the shell parameter space into the environment space. You're just making things worse by trying to assert that shells are not programming languages. Stop. > Of course modern shells have lots of self contained builtin > commands and control structures that resemble programming > languages. Shells definitely are a form of programming language. That they combine a number of features not usually found all in the same language doesn't change that.