From owner-freebsd-stable Wed Dec 22 21:46:20 1999 Delivered-To: freebsd-stable@freebsd.org Received: from mail.nyct.net (bsd4.nyct.net [204.141.86.6]) by hub.freebsd.org (Postfix) with ESMTP id C025C1561F for ; Wed, 22 Dec 1999 21:46:17 -0800 (PST) (envelope-from efutch@nyct.net) Received: from bsd1.nyct.net (efutch@bsd1.nyct.net [204.141.86.3]) by mail.nyct.net (8.8.8/8.8.7) with ESMTP id AAA18504; Thu, 23 Dec 1999 00:45:41 -0500 (EST) (envelope-from efutch@nyct.net) Date: Thu, 23 Dec 1999 00:45:40 -0500 (EST) From: "Eric D. Futch" To: Peter Jeremy Cc: Vlad Skvortsov , freebsd-stable@FreeBSD.ORG Subject: Re: /bin/test broken ? In-Reply-To: <99Dec23.123516est.40332@border.alcanet.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -stable as of Wed Dec 22 01:48:17 EST 1999 dosen't seem to have this problem. % /bin/test 1 -ne 0 ] test: ]: unexpected operator -- Eric Futch New York Connect.Net, Ltd. efutch@nyct.net Technical Support Staff http://www.nyct.net (212) 293-2620 "Bringing New York The Internet Access It Deserves" On Thu, 23 Dec 1999, Peter Jeremy wrote: On 1999-Dec-23 12:09:49 +1100, Vlad Skvortsov wrote: > Seems like /bin/test is broken after cvsup on Dec 16: > > $ /bin/test 1 -ne 0 ] > [: ]: unexpected operator What behaviour were you expecting? That command should have been expressed as either: $ /bin/test 1 -ne 0 or $ [ 1 -ne 0 ] Mixing `test' and `]' is not allowed, so producing an error message is the correct response. That said, the error message should have been: test: ]: unexpected operator and it is not clear why you are getting `[' reported as the program name. As far as I can tell, nothing related to test or errx(3) has been updated recently. (I'm not actually running -stable, so I can't confirm the behaviour). Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message