FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 08-28-2011, 10:43 PM
Default Most Perplexing

Hey There,

Well folks, in order to run the conversion suggested by Bob, I did
the following.

I first saved the script he outlined and called it cb.sh. I then
tried to make the file executable with "chmod +x cb.sh". I then ran
the file with "./cb.sh". I got the following response.

Quote On
[workshop] $ ./cb.sh
'/cb.sh: line 1: syntax error near unexpected token `do
'/cb.sh: line 1: ` for chapternum in $(seq 1 45); do
[workshop] $
Quote Off

I am sure that I have done something wrong, but I can't figure for
the life of me just what it was.


The script reads as follows.

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

Feel free to visit my website and my blog and learn more about me
and what I stand for.
My Website @ http://riverwind.shellworld.net
My Blog http://windraven13.livejournal.com/

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: Pine.BSF.4.64.1108281842290.31955@server1.shellwor ld.net">http://lists.debian.org/Pine.BSF.4.64.1108281842290.31955@server1.shellwor ld.net

Thread Tools

All times are GMT. The time now is 04:54 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org