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,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4604 invoked from network); 23 Jul 2021 17:35:59 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 23 Jul 2021 17:35:59 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1627061759; b=Pw4tnQtdd6SiBsJzWPc6kKfCloC1KbmZ+zkNh7lZ7pXU83EF2LiD7JDW4sLWxZT9EffLkfDfZy CPGNGHGZ6dN9++zdBs4snVj/xsijWua3K02ps5ZtNieQyXx0fmxWzODoz6jHklLVfZTP/9TdVc jBIcECNM/73Ok7Y6xykP66OWF1O6hpjzGbVIkHX2tCSnYKJFlxbnlu72VanwLUbpSXZDBW7Et4 K+0BnCd7KwFYNsXVPQvv9JQoGb5i5YBn7DQXx0U5St1MRdkU/DOT1GPEQhPNj1VCvkbQY8SpLj FzidopKFlJ8LAW1os1nehrQlymiqn7BXTdGYBhDN5ji7wA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-yb1-f177.google.com) smtp.remote-ip=209.85.219.177; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 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-20200801; t=1627061759; bh=Ah389RX7duHofzTHffR96EkmwB+GvhqwxPEVmCt6sgo=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=WcxPENEFWE5QA+F/BVWQro1yYxB8utVFwEe01ohxHfg6iV2OVntCkI6n5c2JQMMQCaQVT+gMaO LWguAHw0UsUFwBqddxl9qozrxT32GOUk5lq/59Kx6mLop3K5i+AaGqrbZ351ajSe+QBp6J+Kc0 e4/d/XGECnalxUh3vHfLGOcAtR3BZNjYRDrWZEpm8ekCBL72epEWSl38t57Y/2AipwodG6fvjZ LZ/5iME7R18LGx0Wrmvy5zQKTZzNtrAEp1pDpo+ltSeXcyPA0UpUEGjk8/CkpTwlF1qkEaeB6H AFdlMCAL7W33gIsNWU+RLOhdokLajAd+GBxyIYlfsR3FKQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=gmq678uegq3vg4e/oIe69LLePq3XAAEIqpCFXKan5RA=; b=vwScj3OAsu0rYrGNN85bH8TJuJ UeP/yGPaEmRySw81kzjsNp4eXh6YpKkN+GaWTPrxa1GFUokJ3sLZAiIoR3Fiu/FZFjAd0qISccZoC UkdsQ6E2h+Qx320mK4TS+4iAyqvL6n0S9InvCVUHFOuvLy3lUNPQkHsAiqkyZbaGP2pQfT6ociQPo /O2dKnK0bcC+alQIH+6WYyBfQtZdEA37nlO/iBlVXlcwKrfXk2tgmef20CqV6UR6SKwSsDq2OvhJP MNsL5H6heXEKC6GBEBZVNLjeFJ/LHVkfRB5ehFeCg2VlcJIlyed5vmHo1wTkSImgJMuItw5sRlS+M XjGsudYw==; Received: from authenticated user by zero.zsh.org with local id 1m6z5a-000Nq9-4F; Fri, 23 Jul 2021 17:35:58 +0000 Authentication-Results: zsh.org; iprev=pass (mail-yb1-f177.google.com) smtp.remote-ip=209.85.219.177; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-yb1-f177.google.com ([209.85.219.177]:36353) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1m6z4o-000N5Y-JB; Fri, 23 Jul 2021 17:35:11 +0000 Received: by mail-yb1-f177.google.com with SMTP id v46so3511148ybi.3 for ; Fri, 23 Jul 2021 10:35:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gmq678uegq3vg4e/oIe69LLePq3XAAEIqpCFXKan5RA=; b=DkmRetAnsl0+jE6qNAYMjVMJ1aTHqQ7fy+BwOUi2MyEb/UxkoZc3lDPALvLODl/eUv NVR7vypRnGgA47Wp6IHvY6HSj6jK5OznjnqSZAaTBcYouoNa7hxRsurnbWR4n55AP1QD i/E8zM6tVx9iP1aOEyLEG1eumPpPARWN4KdpSHPlU8UtU0KDEY8npoMtCYB6NbMnQDEJ uc+Tt9dS3zYA7zlJkUi8LWc2YP7fAAuRDVPrDueXKDRLb7ICefMNZQ4QLJZz19oobWYr WLkwFhuK7mwAhJ6KEBkBtZv4NBw2pQXD4aiQ37UDi/JGAnCt0rgKDjwkuFoTHzipGuWX qlOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gmq678uegq3vg4e/oIe69LLePq3XAAEIqpCFXKan5RA=; b=oV0ViiD3YybNqGa//BDNhWrIXXRFRXuJAiHNuT034Lm0FndtZdvm6+tcmUm8q+DmvO 0qrxLZXAebGUqGBjacjLZ9/ZsFQnMmZKlCvdM6RhMlgXLJ6RK8kQ5wgEqWW6azpjlME7 Y8/z0Op/Iefpb1SanWqbWC4VUr5gkz1WfIXPK633Qxc2u4kTFQVrxBmX9uYMRcks/nhp dIMOwYGRFMTIuxkEwk++1zkmXz9Fmo68korpyNTx/8dC+ppmrYTyXO8P6Hf8HgFqepF9 O7EVCgcuTuc4JJBobinu6Z1r44swDsYT+mvfyzl3UIcmqPZ6W0U+7HWj3Anexi5ijmuH /3Cw== X-Gm-Message-State: AOAM533R9IHrkfTgU6XhGv2sMpJhgfoOiNdE0cPnV2gGvhcwvX51k+8j IaTGTClRxgsZrRSB3pxiMFsY0GJrwwIwbN9CMimpow== X-Google-Smtp-Source: ABdhPJxkgL/4V4JRyRmPr+5uYFFwxeT9oBPWlxKeIGpq/4WhDzw+xNlcATM2uBZsqQ+XD6YHNgfEQHayy2oL07b2uv8= X-Received: by 2002:a25:244:: with SMTP id 65mr4401500ybc.297.1627061709091; Fri, 23 Jul 2021 10:35:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bart Schaefer Date: Fri, 23 Jul 2021 10:34:58 -0700 Message-ID: Subject: Re: Odd behavior of quoted Zsh array subtraction To: Mikael Magnusson Cc: Zach Riggle , Zsh Users Content-Type: text/plain; charset="UTF-8" X-Seq: 26800 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, Jul 23, 2021 at 2:51 AM Mikael Magnusson wrote: > > You are in particular interested in the ordering relation between > item 5 and item 7. [...] if the > current level is double quoted then words will be joined before > history modifiers are applied. This is correct, but item 7 sort of sweeps up :| and :* (etc.) by accident, because they aren't really history modifiers. For example, // is called out explicitly there, but :/ is not. Item 7 has not been kept up to date with several of the more recently added forms of parameter manipulation.