[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A Bit of a Strange Situation



On Thu, Aug 25, 2011 at 18:45, Bob Proulx <bob@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)


Reply to: