From owner-freebsd-questions@FreeBSD.ORG Tue May 3 23:13:53 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83EC716A4CE for ; Tue, 3 May 2005 23:13:53 +0000 (GMT) Received: from mx.muttart.org (mx.muttart.org [66.18.201.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31AA143D64 for ; Tue, 3 May 2005 23:13:53 +0000 (GMT) (envelope-from cburchell@muttart.org) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Tue, 3 May 2005 17:13:47 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: unary operator expected thread-index: AcVQNU7FgWqCpJxPRHWmJ9nb9ParugAADAxg From: "Chris Burchell" To: Subject: unary operator expected X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2005 23:13:53 -0000 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