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

Reply via email to