Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Reverse the order of an array?
- X-seq: zsh-users 4666
- From: Steve Talley <stephen.talley@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Reverse the order of an array?
- Date: Fri, 8 Feb 2002 15:35:14 -0700
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author