2020年9月2日星期三

bash

BASH Programming - Introduction HOW-TO

bash-redirect-stderr-stdout/

for i in $(seq -f "%05g" 10 15)
do
  echo $i
done
 
for i in $(seq -f "%04g" 2 36)
do
    url="http://www.ttt.com/img/$i.jpg"
    echo $url
    wget $url
done
 
 
for i in $(seq 30); do echo "http://www.example.com/page$i.html" ; done | wget -i - 

没有评论: