zsh-users
 help / color / mirror / code / Atom feed
* get array of integers?
@ 2006-09-03 16:59 sam reckoner
  2006-09-03 17:55 ` Bart Schaefer
  2006-09-03 20:27 ` Roman Cheplyaka
  0 siblings, 2 replies; 4+ messages in thread
From: sam reckoner @ 2006-09-03 16:59 UTC (permalink / raw)
  To: zsh-users

[-- Attachment #1: Type: text/plain, Size: 172 bytes --]

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!

[-- Attachment #2: Type: text/html, Size: 209 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-09-03 21:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-03 16:59 get array of integers? sam reckoner
2006-09-03 17:55 ` Bart Schaefer
2006-09-03 20:27 ` Roman Cheplyaka
2006-09-03 21:34   ` Dan Nelson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).