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/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to