From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17008 invoked from network); 14 Aug 2006 22:24:56 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 14 Aug 2006 22:24:56 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 51376 invoked from network); 14 Aug 2006 22:24:43 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 14 Aug 2006 22:24:43 -0000 Received: (qmail 25873 invoked by alias); 14 Aug 2006 22:24:35 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10604 Received: (qmail 25862 invoked from network); 14 Aug 2006 22:24:35 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 14 Aug 2006 22:24:35 -0000 Received: (qmail 50172 invoked from network); 14 Aug 2006 22:24:35 -0000 Received: from ug-out-1314.google.com (66.249.92.174) by a.mx.sunsite.dk with SMTP; 14 Aug 2006 22:24:34 -0000 Received: by ug-out-1314.google.com with SMTP id c2so609122ugf for ; Mon, 14 Aug 2006 15:24:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gm60jFcE2jUZYA9n96Wrsp19sFbOgb6eHjoLH2vgJyf2lkqej4ZnOHJVrQG6NXH6mtO50MWwYpbxwLQFId+IAYfhfLrS7GeTaDnzxO4kAFdgLNGnsCECxbERtXwQoRA93lp0lFc8Pd90VpfjEJsZWVODV98kuIjtTvaWIYS9xg4= Received: by 10.67.101.8 with SMTP id d8mr8818419ugm; Mon, 14 Aug 2006 15:24:33 -0700 (PDT) Received: by 10.66.222.13 with HTTP; Mon, 14 Aug 2006 15:24:33 -0700 (PDT) Message-ID: <237967ef0608141524k4fbe846bx869cddf53cf4d991@mail.gmail.com> Date: Tue, 15 Aug 2006 00:24:33 +0200 From: "Mikael Magnusson" To: zsh-users@sunsite.dk Subject: Re: Sorting files by their extension In-Reply-To: <20060814214005.GF4770@princo> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060814214005.GF4770@princo> On 8/14/06, Jean-Rene David wrote: > Has anyone got a ready-made way to do this? > > % print -l * > bar.a > bar.b > foo.a > foo.b > > % print -l *(o) > bar.a > foo.a > bar.b > foo.b > > It looks like tricky business to me, but perhaps > someone already thought this through. I don't exactly know the answer to your question, but in the meantime maybe `ls -X` can help. -- Mikael Magnusson