On 20031215.1241, Bob Miller said ...

> Rob Hudson wrote:
> 
> > But is there a way to do something like this?:
> > for i in [1-20] ; do cp graphic_$1.gif graphic_text_$1.gif ; done
> > 
> > It doesn't work but it seems like there should be an easy way to set up
> > a range like that.
> 
>       #!/bin/sh
> 
>       for ((i = 7; i < 14; i++))
>       do
>           echo $i
>       done
> 
> Do
> 
>    $ info '(bash)Looping Constructs'
> 
> for more -- er, info.  As it were.

I think I did try that, but didn't double the parens.  Thanks!
_______________________________________________
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to