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

Re: Filtering array on index



Thank you. Nice examples. I hadn't thought about order, and in fact it's
not a problem in my use case.

I guess I'll have resign myself to using a loop. I was dreaming along the
lines of "a[e:<index is odd>:]=()", but no luck.

Although I understand the reason why zparseopts is designed this way, I've
always found it a bit cumbersome that there is no way to only get the
arguments to a possibly repeated flag into an array.


Messages sorted by: Reverse Date, Date, Thread, Author