Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Reverse the order of an array?



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