From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19677 invoked from network); 23 May 2003 15:05:15 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 23 May 2003 15:05:15 -0000 Received: (qmail 11518 invoked by alias); 23 May 2003 15:05:10 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 18573 Received: (qmail 11504 invoked from network); 23 May 2003 15:05:09 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 23 May 2003 15:05:09 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.189.183.235] by sunsite.dk (MessageWall 1.0.8) with SMTP; 23 May 2003 15:5:9 -0000 Received: from exchange01.csr.com (unverified) by (Content Technologies SMTPRS 4.2.1) with ESMTP id for ; Fri, 23 May 2003 16:15:20 +0100 Received: from csr.com (tinky-winky.csr.com [192.168.144.127]) by exchange01.csr.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id LKHGJ82L; Fri, 23 May 2003 16:05:40 +0100 To: Zsh-workers Subject: Re: Reversing arrays In-reply-to: "David =?iso-8859-15?Q?G=F3mez?="'s message of "Fri, 23 May 2003 17:01:51 +0200." <20030523150151.GA404@fargo> Date: Fri, 23 May 2003 16:05:07 +0100 Message-ID: <8396.1053702307@csr.com> From: Peter Stephenson David =?iso-8859-15?Q?G=F3mez?= wrote: > Does zsh support some method to reverse an array? I've been looking at the > subscript flags, but none of them seems to reverse an array, although it's > seems there has been some discussion, looking through the archives, about > this issue in the list some time ago. 4.1.1 supports ${(Oa)array} (O = reverse of the order specified in the next flag, a = normal array order). 4.1.1 is *definitely* coming Real Soon Now. -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. **********************************************************************