Hi Markus I managed to remove problems at lines 8, 13 and 17 by simply removing the blank lines, however I am now faced with the syntax error. Managed to find a possible suggestion which aim to fix this. Wondering if you could add any possible suggestions.
I have been using gVim to configure the crawl script and I am aware that text files come in 2 formats, DOS & UNIX. If I save the file in DOS format, then attempt to convert to UNIX using the following > tr -d '\15' < INFILE > OUTFILE I get an unknown command error at '-d' Having delved further into this it appears I can specify aliases in my .bashrc file, however having tried this I seem to be at the same stage and the configuration is still not correct. Do you have any idea what the -d is executing in the command? I feel that this is not too far off being resolved, and I am also aware that it is less to do with Nutch and more to do with Cygwin, however due to university IT policy I am stuck with Windows XP... where all these problems originate. -----Original Message----- From: Markus Jelsma [mailto:[email protected]] Sent: 10 December 2010 12:27 To: [email protected] Cc: McGibbney, Lewis John Subject: Re: Crawl Script Seems to be a carriage return issue. Remove them first. > Hello List > > Using windows XP > Cygwin to execute > Nutch-1.2 > > Currently trying out various crawl scripts and have hit a problem using the > one located here > > http://wiki.apache.org/nutch/Crawl > > I made some minor adjustments, however nothing apart from topN, > $NUTCH_HOME, $CATALINA, etc > > Output as follows > > lmcgi...@bne001840 /cygdrive/c/Downloads/Apache/nutch-1.2 > $ bin/runbot [safe] > bin/runbot: line 8: $'\r': command not found > bin/runbot: line 13: $'\r': command not found > bin/runbot: line 17: $'\r': command not found > bin/runbot: line 54: syntax error near unexpected token `$'\r'' > 'in/runbot: line 54: `for((i=0; i < $depth; i++)) > > Looking at the script for about an hour I have no idea where this stems > from. > > Any ideas > > Thanks > > Lewis > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the > Year 2009 and Herald Society's Education Initiative of the Year 2009 > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219, > en.html Email has been scanned for viruses by Altman Technologies' email management service - www.altman.co.uk/emailsystems Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009 http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

