You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Earl Cahill <ca...@yahoo.com> on 2005/09/09 11:14:51 UTC

tutorial suggestion

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