zsh-users
 help / color / mirror / code / Atom feed
From: zzapper <zsh@rayninfo.co.uk>
To: Zsh-Users List <zsh-users@zsh.org>
Subject: Glob Qualifier Yn enables short-circuit mode behaves oddly
Date: Fri, 11 Mar 2022 13:09:39 +0000	[thread overview]
Message-ID: <5b876163-b54c-871a-5cd6-0d8aa840c65f@rayninfo.co.uk> (raw)

[-- Attachment #1: Type: text/plain, Size: 371 bytes --]

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.



[-- Attachment #2: Type: text/html, Size: 836 bytes --]

             reply	other threads:[~2022-03-11 13:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-11 13:09 zzapper [this message]
2022-03-11 13:50 ` Mikael Magnusson
2022-03-11 14:12   ` zzapper
2022-03-11 14:34     ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5b876163-b54c-871a-5cd6-0d8aa840c65f@rayninfo.co.uk \
    --to=zsh@rayninfo.co.uk \
    --cc=zsh-users@zsh.org \
    --subject='Re: Glob Qualifier Yn enables short-circuit mode behaves oddly' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).