From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7280 invoked from network); 14 Aug 2006 21:40:31 -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.5 required=5.0 tests=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 21:40:31 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 6370 invoked from network); 14 Aug 2006 21:40:25 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 14 Aug 2006 21:40:25 -0000 Received: (qmail 16392 invoked by alias); 14 Aug 2006 21:40:17 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10603 Received: (qmail 16381 invoked from network); 14 Aug 2006 21:40:16 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 14 Aug 2006 21:40:16 -0000 Received: (qmail 5208 invoked from network); 14 Aug 2006 21:40:16 -0000 Received: from mx5-3.spamtrap.magma.ca (209.217.78.138) by a.mx.sunsite.dk with SMTP; 14 Aug 2006 21:40:14 -0000 Received: from mail4.magma.ca (mail4.internal.magma.ca [10.0.10.14]) by mx5-2.spamtrap.magma.ca (8.13.1/8.13.1) with ESMTP id k7ELeA3F011866 for ; Mon, 14 Aug 2006 17:40:10 -0400 Received: from princo.homelinux.org (ottawa-hs-64-26-170-69.d-ip.magma.ca [64.26.170.69]) by mail4.magma.ca (Magma's Mail Server) with ESMTP id k7ELe7kQ024550 for ; Mon, 14 Aug 2006 17:40:08 -0400 Received: from jrdavid by princo.homelinux.org with local (Exim 3.36 #1 (Debian)) id 1GCkAH-0003Xd-00 for ; Mon, 14 Aug 2006 17:40:05 -0400 Date: Mon, 14 Aug 2006 17:40:05 -0400 From: Jean-Rene David To: zsh-users@sunsite.dk Subject: Sorting files by their extension Message-ID: <20060814214005.GF4770@princo> Mail-Followup-To: zsh-users@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.5.12-2006-07-14 X-magma-MailScanner-Information: Magma Mailscanner Service X-magma-MailScanner: Clean 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. -- JR