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.

-- 
Bob Miller                              K<bob>
kbobsoft software consulting
http://kbobsoft.com                     [EMAIL PROTECTED]
_______________________________________________
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to