bin/nutch issue - on Mac OS X

2005-07-19 Thread Erik Hatcher
I'm getting "expr: syntax error" when running all bin/nutch commands. It comes from this line: if expr match `uname` 'CYGWIN*' > /dev/null; then should this be modified to be this instead: if expr `uname` : 'CYGWIN*' > /dev/null; then That works for me, but I'm not running Cygwin.

RE: bin/nutch issue - on Mac OS X

2005-07-19 Thread Howie Wang
It works for me and I'm on Cygwin. Howie I'm getting "expr: syntax error" when running all bin/nutch commands. It comes from this line: if expr match `uname` 'CYGWIN*' > /dev/null; then should this be modified to be this instead: if expr `uname` : 'CYGWIN*' > /dev/null; then That

Re: bin/nutch issue - on Mac OS X

2005-07-19 Thread Piotr Kosiorowski
Hello, Tested on cygwin and on linux box. :" based syntax is used ealier in nutch script too. Commited. Thanks Piotr Erik Hatcher wrote: I'm getting "expr: syntax error" when running all bin/nutch commands. It comes from this line: if expr match `uname` 'CYGWIN*' > /dev/null; then sho