Thanks for reporting that. I think this point was brought up over [0] but
was left off. Could you try out this and tell if it works ?
SEGMENT=`ls $CRAWL_PATH/segments/ | sort -n | tail -n 1`

[0] :
https://issues.apache.org/jira/browse/NUTCH-1087?focusedCommentId=13554353&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13554353



On Thu, Sep 5, 2013 at 5:18 AM, Scheffel, Aaron <[email protected]
> wrote:

> The 1.7 crawl script has the following line 125
>
> SEGMENT=`ls -l $CRAWL_PATH/segments/ | sed -e "s/ /\\n/g" | egrep 20[0-9]+
> | sort -n | tail -n 1`
>
> There is an "ls -l " there which is causing the script to behave badly
> (not work) at least on OS X. A simple "ls" seems to fix it.
>
> -Aaron
>

Reply via email to