On Thu, Aug 25, 2011 at 18:45, Bob Proulx <b...@proulx.com> wrote:

>
>  for chapternum in $(seq 1 45); do
>    wget http://www.dsl.org/cookbook/cookbook_$chapternum.html
>  done
>

just a minor improvement:

curl http://www.dsl.org/cookbook/cookbook_$chapternum.html | html2text >> $file

(define $file and put that in the loop and you're done)


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAH_OBiek49VYF5=jwsshb0tmrzlbdlmf-sagqrqs0dckfp5...@mail.gmail.com

Reply via email to