> >10 bonus points to Carl for not using perl, but I suspect a simple loop
> >in bash may be less error prone... :)
> 
> Go on then!
> 
> Show us your code!

Code? CODE? That's top secret mate! ;)

Ok let's have some fun.

We were assuming bash.

for u in `seq 12`; do wget http://somewhere/file$u.jpeg; done

Much less syntactic sugar :), and assuming one can remember the for loop
in bash (I take that as a given for anyone using the command line), one
only has to remember seq. This gets files 1 to 12. Modify the seq for
different numbers. seq -w2 12 puts a leading 0.

Volker

-- 
Volker Kuhlmann                 is possibly list0570 with the domain in header
http://volker.dnsalias.net/             Please do not CC list postings to me.

Reply via email to