Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Glob Qualifier Yn enables short-circuit mode behaves oddly
- X-seq: zsh-users 27543
 
- From: zzapper <zsh@xxxxxxxxxxxxxx>
 
- To: Zsh-Users List <zsh-users@xxxxxxx>
 
- Subject: Glob Qualifier Yn enables short-circuit mode behaves oddly
 
- Date: Fri, 11 Mar 2022 13:09:39 +0000
 
- Archived-at: <https://zsh.org/users/27543>
 
- List-id: <zsh-users.zsh.org>
 
  
  
    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.
        
       
    
    
    
    
    
  
Messages sorted by:
Reverse Date,
Date,
Thread,
Author