Yep that works. Sorry, it took me a bit to get back around to testing it. -Aaron
On 9/5/13 10:26 AM, "Tejas Patil" <[email protected]> wrote: >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#com >ment-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 >>

