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, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16323 invoked from network); 11 Mar 2022 13:10:40 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 11 Mar 2022 13:10:40 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1647004240; b=GwWTGbm5zQK/ImryIpWN3IhuHLfbIaHKXLHWGfQTlEx751LnJhz2kcw1Sz7oFfMK9XzVd9BecX ZiNtqxQEKA6D0c7Z/m02yzfkGJ4kiYI46XK/esO6iFZfHVz5saPKgWtMmhSFtJxnMnYcJlFcpe QX0Ra2G+nQqRlF/p8Ljaf18SPTr4yjb82Yxh/llNf3sizremLYedKHNNhdetyzDYu45MH15bWR vmw1aA/zQYu/aZWtLINxtpL2xwrAQqtpID3Bk0b9QbibKgor/daXr/sHTrspFtI0qA63yf3Qih aPHdpPz5izlpwVSYPew7uuahhrPHzf8xwvv4kVFe29n89w==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (p3plsmtp10-03-2.prod.phx3.secureserver.net) smtp.remote-ip=97.74.135.186; dmarc=none header.from=rayninfo.co.uk; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1647004240; bh=JQOn0Arfv6UCD8GQ+uhKtU5K6q2rY1HKeyOUx7TyPF0=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Subject:From:To:MIME-Version:Date:Message-ID:Content-Type: DKIM-Signature; b=DN75sJjOTKsbQ972faIXI5bbplMI5xCwlLgpcxZeuN+WiJch7ohQO2+i1WrmacqQ2huz8P3YP2 S6voyzVWBPhK+8DR1zxWLF90UgaLhkRy1DJWz1HF11NbVji8ZVvgtflsjPDE/z8RNmb353Ua40 bv+EGogySa2/nFK7G34c72RowSbU6IpZaiT0+3x3ndsQs0af0+0y+fZI1owyo8fDGU3mTN93KH Z40QGhmQbiiVaJQMO/nTKHGCoZXfd6bgXuAAymy69EdhYCmKS21itVVtPLx9xj6tQUohc/W9zz 6W1WfqALRgF59Zxq4YYPvaUx25ugwOreFU+Xm8R17vUoyg==; 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:Subject:From:To:MIME-Version:Date: Message-ID:Content-Type:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=DTuKmTjwGT0G9R9iEdt6VXVu0qsjxBtl1aqFefZqqU4=; b=Vkun1aqeXHB/H0nT15uq2TtV4O oA9xOAnZ1jIJQRg4NkXlQaCv2vfB1yxrbDQX6NJqGooc6owbumlqIi48sZU39eJLWlC2EcI6MpEEx y7PI9ItwqyMpkH6vJ3ZdgtKH7BE7JoQqEFnkwOa0psIYhHRLVt9S77n0C4caK62M42oAVTfEDGYmf n/kspy08ezqArPiHVlGWChCA3Bm0RkydFOynFFT6JWEI8DOSpDxTDZy6VTPXryt8ICvqW6Wo2+tFK 6SurTj9QKgtWZwwMins9FKqFoQ0o/dUnK/i1BSFkqZZHKUTRJSJbIkzLWMF6YY/OiD00B5CZP/4ee FIr3Dsng==; Received: from authenticated user by zero.zsh.org with local id 1nSf2T-000Pah-JH; Fri, 11 Mar 2022 13:10:37 +0000 Authentication-Results: zsh.org; iprev=pass (p3plsmtp10-03-2.prod.phx3.secureserver.net) smtp.remote-ip=97.74.135.186; dmarc=none header.from=rayninfo.co.uk; arc=none Received: from p3plsmtp10-03-2.prod.phx3.secureserver.net ([97.74.135.186]:56301 helo=p3plwbeout10-03.prod.phx3.secureserver.net) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1nSf1b-000OsE-8J; Fri, 11 Mar 2022 13:09:44 +0000 Received: from mailex.mailcore.me ([94.136.40.142]) by :WBEOUT: with ESMTP id Sf1YnjlzIqTYASf1YnTbty; Fri, 11 Mar 2022 06:09:41 -0700 X-CMAE-Analysis: v=2.4 cv=f+CNuM+M c=1 sm=1 tr=0 ts=622b4a15 a=s1hRAmXuQnGNrIj+3lWWVA==:117 a=1XUAoriuO2rjmCQC64jSlQ==:17 a=4OHr2usCQUQA:10 a=o8Y5sQTvuykA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=1Gva7zUSHkH0liE2enAA:9 a=QEXdDO2ut3YA:10 a=AfqJi2OFhX3JzRbClrYA:9 a=WmC4B5xY3XhfwkqR:21 a=_W_S_7VecoQA:10 X-SECURESERVER-ACCT: david@rayninfo.co.uk X-SID: Sf1YnjlzIqTYA Received: from [95.145.222.163] (helo=[192.168.1.231]) by smtp10.mailcore.me with esmtpa (Exim 4.94.2) (envelope-from ) id 1nSf1X-0000UN-Hh for zsh-users@zsh.org; Fri, 11 Mar 2022 13:09:39 +0000 Content-Type: multipart/alternative; boundary="------------dGs8m8g0WnGdq5Z0ss0M9m0R" Message-ID: <5b876163-b54c-871a-5cd6-0d8aa840c65f@rayninfo.co.uk> Date: Fri, 11 Mar 2022 13:09:39 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US To: Zsh-Users List From: zzapper Subject: Glob Qualifier Yn enables short-circuit mode behaves oddly X-Mailcore-Auth: 8308408 X-Mailcore-Domain: 840527 X-123-reg-Authenticated: david@rayninfo.co.uk X-Originating-IP: 95.145.222.163 X-CMAE-Envelope: MS4xfDEgziGG8NDxEvC//iWsS6f3WCiLuONJwNoBXagCErD8vGhr9W2+gDs5ucF1+Rj9Dhckk8p7mIcvusF/VnO6fIaJBhQC/sLzfwe4k5Gp2mGayrcTKvEy sxpAcXoWymdtwuixW+QRcznI+3OkqoXZ8FJLv7NLLtSnbAzWzLViTbiaYmZovSyj8YL24Ld1+NLONA== X-Seq: 27543 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: This is a multi-part message in MIME format. --------------dGs8m8g0WnGdq5Z0ss0M9m0R Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi > print *(.omY3) notebash.txt note132.txt note020.txt I don't know why it's selected those 3 files but it always does Yn enables short-circuit mode: the pattern will expand to at most n filenames. If more than n matches exist, only the first n matches in directory traversal order will be considered. Implies oN when no oc qualifier is used. --------------dGs8m8g0WnGdq5Z0ss0M9m0R Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Hi

> print *(.omY3)

notebash.txt note132.txt note020.txt

I don't know why it's selected those 3 files but it always does


Yn

enables short-circuit mode: the pattern will expand to at most n filenames. If more than n matches exist, only the first n matches in directory traversal order will be considered.

Implies oN when no oc qualifier is used.



--------------dGs8m8g0WnGdq5Z0ss0M9m0R--