Walking through the tutorial

http://lucene.apache.org/nutch/tutorial.html

and just a little suggestion.  For the 

s1=`ls -d segments/2* | tail -1`
s2=`ls -d segments/2* | tail -1`
s3=`ls -d segments/2* | tail -1`

I suggest using \ls just in case users have an alias
like

alias ls='ls -lFa'

like me.  Such an alias, without the \ls means that

echo $s1

gives something like

drwxr-xr-x 8 nutch nutch 4096 Sep 9 03:08
segments/20050909030535/

which isn't going to work so hot.

Yeah, kind of dumb, I know, but pretty well any ls
alias would break it.  Only took me a couple minutes
to figure out, but I don't see a reason to not have
\ls.

Thanks,
Earl

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to