From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22801 invoked from network); 14 Sep 2004 07:27:25 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 14 Sep 2004 07:27:25 -0000 Received: (qmail 8600 invoked from network); 14 Sep 2004 07:27:17 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 14 Sep 2004 07:27:17 -0000 Received: (qmail 4036 invoked by alias); 14 Sep 2004 07:26:33 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7987 Received: (qmail 4022 invoked from network); 14 Sep 2004 07:26:33 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 14 Sep 2004 07:26:33 -0000 Received: (qmail 7292 invoked from network); 14 Sep 2004 07:26:33 -0000 Received: from zenon.apartia.fr (HELO zenon.apartia.com) (82.66.93.83) by a.mx.sunsite.dk with SMTP; 14 Sep 2004 07:26:32 -0000 Received: from pyrrhus.apartia.fr (pyrrhus.apartia.fr [10.0.3.101]) by zenon.apartia.com (Postfix) with ESMTP id A6D3A1879CF for ; Tue, 14 Sep 2004 09:26:31 +0200 (CEST) Received: by pyrrhus.apartia.fr (Postfix, from userid 1000) id 9D42995D22; Tue, 14 Sep 2004 09:26:14 +0200 (CEST) Date: Tue, 14 Sep 2004 09:26:14 +0200 From: Louis-David Mitterrand To: zsh-users@sunsite.dk Subject: Re: globing pattern doesn't sort? Message-ID: <20040914072614.GA15991@apartia.fr> Mail-Followup-To: zsh-users@sunsite.dk References: <20040913152958.GA19979@apartia.fr> <200409131610.i8DGA7nS005897@news01.csr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200409131610.i8DGA7nS005897@news01.csr.com> User-Agent: Mutt/1.5.6+20040818i X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.0 required=6.0 tests=BAYES_44 autolearn=no version=2.63 X-Spam-Hits: -0.0 On Mon, Sep 13, 2004 at 05:10:07PM +0100, Peter Stephenson wrote: > > which really suprised my as I thought the whole point of the <-> pattern > > was to allow for an ordered sequence to be returned (contrary to a > > simple *). > > > > Am I mistaken in that belief? > > Yes. However, you can set the option numeric_glob_sort. A quick test > suggests completion will obey this, which does what you want. Note that > that's independent of how the matches were generated, however, so > replacing <1-19> with * wouldn't change the result. Thanks for the explanation. As always: I had a dream, zsh had it