I need to fix a syntax error in a javascript- anyone can help? my job depends on this...? - blogspot ls girl
If someone can help, we can recommend at least a hint? Thank you.
I work with the tutorial http://nutchtube.blogspot.com/2008/02/latest-step-by-step-installation-guide.html
I try to install Nutch, and when I use the crawler, I get an error: line 15: syntax error near unexpected characters '$' in \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ r Line 15'': "case''uname''in"
Here's the code
# NUTCH_OPTS additional autonomy Java.
#
Cygwin = false
case "` uname `" in
Cygwin cygwin *) = true;;
esac
# Resolve links - $ 0 May is a symbolic link
Start = "$ 0"
while [-h "$ this"], not
ls = `ls-ld" $ this ""
link = `expr" $":'.*-> Ls \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (.* \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\) $ ' `
If expr "$ link ":'.*/.*'> / dev / null, then
Start = "$ link"
other
This = `dirname" $ this link "`/"$ "
FI
made
# If no argument is specified, use the show
Line # 15
# If [$ # = 0], then
echo "Usage: COMMAND Nutch
echo "in the command is here:"
echo "tracking a step tracker for int
I
2 comments:
This is actually a shell script or Java or Javascript. :) Anyway, is one of the comments on the article as follows:
"However, when I crawl the script Nutch satisfied" from a Cygwin bash shell, I have a syntax error. It seems that the script on 'd2u must be executed "to get it to work! You want the document somewhere in May. "
d2u text files from DOS-compatible format compatible with Unix converts and vice versa, by using the characters carriage return and line feed at the end of each line.
This is actually a shell script or Java or Javascript. :) Anyway, is one of the comments on the article as follows:
"However, when I crawl the script Nutch satisfied" from a Cygwin bash shell, I have a syntax error. It seems that the script on 'd2u must be executed "to get it to work! You want the document somewhere in May. "
d2u text files from DOS-compatible format compatible with Unix converts and vice versa, by using the characters carriage return and line feed at the end of each line.
Post a Comment