Re: unary operator expected

2005-05-03 Thread Chuck Robey
Clifton Royston wrote: On Tue, May 03, 2005 at 05:13:47PM -0600, Chris Burchell wrote: I'm working with a script written for Linux that has the following lines: # Check that networking is up. [ ${NETWORKING} = "no" ] && exit 0 I don't think it's a Linux/BSD issue. This line won't work in sh if

Re: unary operator expected

2005-05-03 Thread Clifton Royston
On Tue, May 03, 2005 at 05:13:47PM -0600, Chris Burchell wrote: > I'm working with a script written for Linux that has the following > lines: > > # Check that networking is up. > [ ${NETWORKING} = "no" ] && exit 0 I don't think it's a Linux/BSD issue. This line won't work in sh if NETWORKING i