Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2005 17:13:47 -0600
From:      "Chris Burchell" <cburchell@muttart.org>
To:        <freebsd-questions@freebsd.org>
Subject:   unary operator expected
Message-ID:  <AF33154333460E439B317830E50C10490D6072@tmfsrv01.muttart.org>

next in thread | raw e-mail | index | archive | help
Hello:

I'm working with a script written for Linux that has the following
lines:

# Check that networking is up.
[ ${NETWORKING} =3D "no" ] && exit 0


Everything else in the script works okay, but this one bombs with the
following error:

line 35: [: =3D: unary operator expected


Can anyone help with suggestions or an alternate statement that will
work on FreeBSD 5.3-RELEASE?

Thanks,
Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AF33154333460E439B317830E50C10490D6072>