Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
get array of integers?
- X-seq: zsh-users 10663
- From: "sam reckoner" <sam.reckoner@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: get array of integers?
- Date: Sun, 3 Sep 2006 09:59:21 -0700
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=RoUc/FERF+sprPcI75h5Hh4XMfA8l+ct8Ns4tvFXi/FLQFBKgSG8ILsE4MxQqbKHXviYYHxUtMweM9KNwBR1vG7cVNtAYe9uBpHsNfSf0D4IMpRXiJZHuuikWNpGCXkyGsfc9HR9QCBbbBZKBM6TqD7F51gAnDy0G7HYucE5OKc=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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