obrigado por todas as dicas....
acabei usando o script abaixo e funcionou... estou dando uma olhada nos sites que me passaram, e pelo visto, shell é muito parecido com o c. Obrigado a todos... Franz Em Ter, 2007-07-24 às 23:43 -0300, Ricardo Carlini Sperandio escreveu: > Pronto... =) > > for t in $(seq -w 1 1 99999); do > wget "http://exemplo/${t}.txt" ; > done > > caso queira abrir tudo em paralelo : > > for t in $(seq -w 1 99999); do > wget "http://exemplo/${t}.txt" & > done > > On 7/24/07, Franz Gustav Niederheitmann <[EMAIL PROTECTED]> wrote: > > Lista, > > > > como faço para contar de 00001 ate 99999 no shell???? > > > > estou tentando criar alguns arquivos com essa contagem para depois usar > > com o wget -i, jah que o wget naum permite > > > > wget http://exemplo/[00001-99999].txt > > > > alguem sabe como criar um script que escreve em um arquivo todos esses > > txt para depois usar com o wget -i? > > > > > > ex do conteudo do arquivo: > > > > #arquivo > > > > http://exemplo/00001.txt > > http://exemplo/00002.txt > > http://exemplo/00003.txt > > http://exemplo/00004.txt > > http://exemplo/00005.txt > > http://exemplo/00006.txt > > ..... > > http://exemplo/99999.txt > > > > > > > > -- > > Franz Gustav Niederheitmann <[EMAIL PROTECTED]> > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > > > > > -- Franz Gustav Niederheitmann <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

