List Range...

2010-12-20 Thread Brad Beck
Is there a way to specify a range of values (similar to perl) in the list 
operator at the shell? e.g.

each [1..10] { start $it }

-Brad



Re: List Range...

2010-12-20 Thread Guillaume Nodet
Not afaik.   One possible way to work around this syntax limitation
would be to define a command range and do something like:
   each (range 1 10) { start $it }
Basically, you need a way to compute your set of values to iterate through.

On Mon, Dec 20, 2010 at 15:39, Brad Beck bb...@peoplenetonline.com wrote:
 Is there a way to specify a range of values (similar to perl) in the list 
 operator at the shell? e.g.

 each [1..10] { start $it }

 -Brad





-- 
Cheers,
Guillaume Nodet

Blog: http://gnodet.blogspot.com/

Open Source SOA
http://fusesource.com