karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Nodet <gno...@gmail.com>
Subject Re: List Range...
Date Mon, 20 Dec 2010 15:07:52 GMT
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 <BBeck@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

Mime
View raw message