[magick-users] loop to make 300 images

Brian Jackson brian at actionathletics.com
Tue Jun 3 12:23:30 PDT 2008


On Monday 02 June 2008 09:29, Fred Weinhaus wrote:
> Not correct while syntax for unix
>
> replace for i while i<300
>
> with (note space after [ and before ])
>
> while [ $i -lt 300 ]
> do
> ...
> done

You can also do this:

for i in {1..300}; do
  echo $i
done

No need to increment the counter :)

brian

-- 
Brian Jackson
Action Athletics Sports Photography
http://www.ActionAthletics.com/


More information about the Magick-users mailing list