zsh-users
 help / color / mirror / code / Atom feed
From: Steve Talley <stephen.talley@sun.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-users@sunsite.dk
Subject: Re: Reverse the order of an array?
Date: Fri, 8 Feb 2002 17:17:40 -0700	[thread overview]
Message-ID: <20020208171740.A1035@thpppt> (raw)
In-Reply-To: <Pine.BSF.4.40.0202082359000.90676-100000@brasslantern.com>; from schaefer@brasslantern.com on Sat, Feb 09, 2002 at 12:09:37AM +0000

Perfect!  I knew there was a better solution.

Thanks Bart!

Steve

Bart Schaefer wrote:

> On Fri, 8 Feb 2002, Steve Talley wrote:
> 
> > Thanks Bart.  The best that I had come up with was:
> >
> >     indexes=({$#osvers..1})
> >     tmp=('$osvers['$^indexes']')
> >     osvers=${(e)tmp}
> >
> > Do you see any way (other than skipping the whole thing :) to simplify
> > this?
> 
> Hmm, I should have thought of that.
> 
> 	eval osvers\=\( \"\$osvers\[{$#osvers..1}\]\" \)


  reply	other threads:[~2002-02-09  0:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-08 22:35 Steve Talley
2002-02-08 22:59 ` Bart Schaefer
2002-02-08 23:55   ` Steve Talley
2002-02-09  0:09     ` Bart Schaefer
2002-02-09  0:17       ` Steve Talley [this message]
2002-02-11 13:26       ` Oliver Kiddle
2002-02-11 18:41         ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020208171740.A1035@thpppt \
    --to=stephen.talley@sun.com \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).