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 30703 invoked from network); 6 Dec 2022 11:22:41 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 6 Dec 2022 11:22:41 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1670325761; b=RCj4IxfVWjuD01R5Ax4ug8nTAMf+KFEN8JScDxhw5DvDBVtMkK3CWwvEC/Q32fLVcYASdqljUR By3H7ppeS32LRbGDcFji3DXZ7CDQXaNKd7zxljBxm2FsBNkytSRv88bSFQvPE7rHXk0ofRtfD0 8HtA1K0YDAtL87o+04IfTF3pUUix5ra/QOuPEq0gWmhHZmypb3xL3h/8PRuA+QNtqVp+J61PK/ XWKiIOCDUKOWlo+eeXe0hLrwpNv9zloAXz79nDt/QzVKxZmgVAAcbWTg/X26AZGiGDCyzbtUJR 6/gnCj549NUVXVDYQgX4lSINbQd+uoT6t8yzM7k6iiu2jA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (smtpq1.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.96; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1670325761; bh=hLV4Y2i/KOfE600Gwd/flpqlUjA1LCD7Mwfixhm+1j4=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject: References:In-Reply-To:Message-ID:To:From:Date:DKIM-Signature: DKIM-Signature; b=aixEVOPutPET5FAauOk/CXw4+rWJc+q8OVwVlVnWbiqDTfQk2q1dSSx3NuMTU1Llg7tnn7ctaC GCbmfDRRtsn7RS07uNIfBIXpTbqnJqIBLJhjrUySFTsVkWyY7qyupBet+utIGNNn4e5Jvu7od0 2nGBYOVn61eD3Dvsn+htecrtEhZAAbVplX0TPmcUaocmNu6spuqGRXM3PT3TiuiEcNc6T2HQxw IOZubkJpd7SuKk2xFC+i7fNp+e/oYQr9BwQloRF2flrAWpdFoUeci/DeaxFmqJdHDlDqHFTFiv mMP0j1XoS7wxDYaZ0W5J6BZDYzqwYELEup7CjpahxB0ikg==; 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:MIME-Version:Subject:References:In-Reply-To:Message-ID:To:From: Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=/d8+rystMexqAgPAZ809y5EURsW74W2TDSRLp2l0eAE=; b=Np7Vvq3VY5Rlqtm0dM8jyb1AJ5 OGbxDOm1/Y5HU68rE0n0zvW5DyIqdJLlOcUXy++EmDxWIbzg2L1sXAv8XKIsw5HgHsipjcuzdhAgy eJB0zYp5MJ7wsGdGr9Et915pE9ue5UQeN7/H4KZFM7MNQLe9QrfivxX5N/TSRRfgEikxkrqJ1/WJB V8na0hfxoEDObvSdXnUkZmVzXCRVlfNPT5KR0KLk4oBq+hYckFR89FvAjghADv/1IS4V5epnOMB0I pm6604xGAraLxXl09VcM9aJJWrqoiaNnvlBwL+6zX9L0CDpTRtE9rDQm+n4sqNa8saMNgaYbdYaZ3 1jyhzwrQ==; Received: by zero.zsh.org with local id 1p2W23-000GR8-Hc; Tue, 06 Dec 2022 11:22:39 +0000 Authentication-Results: zsh.org; iprev=pass (smtpq1.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.96; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none Received: from smtpq1.tb.ukmail.iss.as9143.net ([212.54.57.96]:34728) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1p2W1E-000FkY-Ol; Tue, 06 Dec 2022 11:21:49 +0000 Received: from [212.54.57.81] (helo=smtp2.tb.ukmail.iss.as9143.net) by smtpq1.tb.ukmail.iss.as9143.net with esmtp (Exim 4.90_1) (envelope-from ) id 1p2W1E-0002Iz-9Q for zsh-users@zsh.org; Tue, 06 Dec 2022 12:21:48 +0100 Received: from oxbe12.tb.ukmail.iss.as9143.net ([172.25.160.143]) by smtp2.tb.ukmail.iss.as9143.net with ESMTP id 2W1Dplmoj6Asl2W1EpE9FE; Tue, 06 Dec 2022 12:21:48 +0100 X-Env-Mailfrom: p.w.stephenson@ntlworld.com X-Env-Rcptto: zsh-users@zsh.org X-SourceIP: 172.25.160.143 X-CNFS-Analysis: v=2.4 cv=c8ttAzxl c=1 sm=1 tr=0 ts=638f25cc cx=a_exe a=pVlFXI3Q25jgZXAaIqG4JA==:117 a=1DWFKdCB1IcA:10 a=IkcTkHD0fZMA:10 a=ZjyAdWuDOD4A:10 a=pGLkceISAAAA:8 a=q2GGsy2AAAAA:8 a=QqElUQYXvoaVEgJLnuMA:9 a=QEXdDO2ut3YA:10 a=z9dJwno5l634igLiVhy-:22 X-Authenticated-Sender: p.w.stephenson@ntlworld.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntlworld.com; s=meg.feb2017; t=1670325708; bh=hLV4Y2i/KOfE600Gwd/flpqlUjA1LCD7Mwfixhm+1j4=; h=Date:From:To:In-Reply-To:References:Subject; b=DzzH/Lj7b3AeTYnsQwSC6QubSCY0BsjPKl8t6qoIU3N/TCqc/5yTqxyExCQmTPhfb zyr3qSnMrTl+mjdyCrDR0bvP9bm7n3K+5NeDXGInKiO5IuFgsE9vWq1WZ9XR5/vOlk 12EDX9wq6Oclryb/LiYjDaaWyUy5Mms0bE4FhmSSWOnP9AXeI8q6Nbz5tspbeu/dxp NJaap7yhmatEx/ixRZ58WiFMBnLry2/7Lx57jicmzKIj+8AcMDIcbYFuhBoZ8nGTvP prfya/jsE+mwRECidxeyqtJt0DXZRn6YmCXNCHB8Rr/6HN1GwjgsID1pZ4Vnrnonuu cZccPGVPo2t4w== Date: Tue, 6 Dec 2022 11:21:47 +0000 (GMT) From: Peter Stephenson To: zsh-users@zsh.org Message-ID: <774550684.6679506.1670325707995@mail.virginmedia.com> In-Reply-To: References: <9d81fc7d-aa60-9b6a-47df-6fc677b933f9@eastlink.ca> <63ae2364-1bba-405d-a1e6-4813df512340@app.fastmail.com> <8fc6bf49-3463-4432-b706-15b49d19a9b5@app.fastmail.com> <1a9012ef-7bac-aae8-8a7c-5b8aa86b4cfa@eastlink.ca> Subject: Re: trivial question MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer X-Originating-IP: 147.161.224.167 X-Originating-Client: open-xchange-appsuite X-CMAE-Envelope: MS4xfKvu17hj2tweKpcykY3t+xMIgL8YQtgETr8VPK+XSRMXgBpqzx9bkYKcooUUtIsC6d2Sea9Ng7os1JcO67/YiGAPFGfMFSdfSnEBVXBU/oUsUARUGwr4 U9Dih2he2YFYrcCsMoM8nWsflmExagJPxq2MkPanx5ITR5o4+cKa6y+CXkUC6YFWvkQBQqF5gx6KqBicYXilo7IdwZZmNXeNPpUpXWf93Q0X8g0I1zdsQQ78 X-Seq: 28505 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 06/12/2022 10:18 Roman Perepelitsa wrote: > On Tue, Dec 6, 2022 at 5:30 AM Bart Schaefer wrote: > > The cases where it is going to perform globbing are more universal > > than those where it is not. > > I know that filename generation is performed in these places: > > - On words of a simple command. > - Within array initializers. > - Within for loop initializers. > > You can also enable it in some places with (#q). Are there any other > places where filename generation takes place? I cannot find this in > the docs. There's the special case of the GLOB_ASSIGN option where all assignments, not just arrays, undergo globbing. That's for compatibility with early versions of zsh, otherwise it's very confusing. pws