From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21928 invoked from network); 8 Feb 2002 22:35:47 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 8 Feb 2002 22:35:47 -0000 Received: (qmail 12052 invoked by alias); 8 Feb 2002 22:35:27 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4666 Received: (qmail 12040 invoked from network); 8 Feb 2002 22:35:24 -0000 Date: Fri, 8 Feb 2002 15:35:14 -0700 From: Steve Talley To: zsh-users@sunsite.dk Subject: Reverse the order of an array? Message-ID: <20020208153514.C10334@thpppt> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Hi there, How can I easily reverse the order of an array in zsh? I was hoping that something like osvers=($osvers[{$#osvers..1}]) would work, but no luck. Any help would be greatly appreciated. Thanks, Steve