Thread Previous • Date Previous • Date Next • Thread Next |
Jon Bendtsen wrote:
On 28/03/2009, at 23.04, Michael Schmidt wrote:Hej NG, Jeg har lige brugt et bash for-loop:]$ for i in `seq 1 126`; do wget http://www.example.org/contenpages/article$i.html; done
udnyt backquotes og printf kommandoen:for i in `seq 1 126`; do wget http://www.example.org/contenpages/article`printf '%03d' $i`.html; done
Erling
Thread Previous • Date Previous • Date Next • Thread Next |