From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13782 invoked by alias); 4 Jun 2014 06:55:24 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32697 Received: (qmail 13634 invoked from network); 4 Jun 2014 06:55:11 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <140603235451.ZM29138@torch.brasslantern.com> Date: Tue, 03 Jun 2014 23:54:51 -0700 In-reply-to: Comments: In reply to Mikael Magnusson "Re: [PATCH] Re: (Y) modifier: up to N matches?" (Jun 4, 8:01am) References: <20140602182346.GB1858@tarsus.local2> <140602204603.ZM26905@torch.brasslantern.com> <20140604020804.GA2032@tarsus.local2> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh workers Subject: Re: [PATCH] Re: (Y) modifier: up to N matches? MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Jun 4, 8:01am, Mikael Magnusson wrote: } } We already have [1,42] for the first 42 matches after sorting, just } make a reference to that I guess? And as for taking arguments, all } other glob qualifiers that take variable length arguments do it in the } form of u:args: where the : can be any character, so this should be } consistent with that, I think. Actually qualifiers that take only numeric arguments don't use the :args: format, see for example u123 for files owned by user 123, or L1024 for files 1k in size. I find I've forgotten how one specifies a device for the (dDEV) qualifier, and the manual doesn't help, but that doesn't use delimiters either. (Ah, it's device number.) So I think Y42 is fine as it is.