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

get array of integers?



I have been doing

x=$(){1..10}

to get a range of integers. Is there a better way? Also, how can I get a range that steps by 2 instead of by 1 as in

1 3 5 7 ...

Thanks!




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