From owner-freebsd-stable Thu Dec 23 12:30:17 1999 Delivered-To: freebsd-stable@freebsd.org Received: from pau-amma.whistle.com (pau-amma.whistle.com [207.76.205.64]) by hub.freebsd.org (Postfix) with ESMTP id 05B0B14D34 for ; Thu, 23 Dec 1999 12:30:15 -0800 (PST) (envelope-from dhw@whistle.com) Received: (from dhw@localhost) by pau-amma.whistle.com (8.9.2/8.9.2) id MAA65714; Thu, 23 Dec 1999 12:30:03 -0800 (PST) Date: Thu, 23 Dec 1999 12:30:03 -0800 (PST) From: David Wolfskill Message-Id: <199912232030.MAA65714@pau-amma.whistle.com> To: peter.jeremy@alcatel.com.au, vlad@high.net.ru Subject: Re: /bin/test broken ? Cc: freebsd-stable@FreeBSD.ORG In-Reply-To: <99Dec23.123516est.40332@border.alcanet.com.au> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Date: Thu, 23 Dec 1999 12:44:07 +1100 >From: Peter Jeremy >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). Well, /bin/test and /bin/[ are links to the same inode: pau-amma[71]% !ls ls -ilL `which \[ test` 107 -r-xr-xr-x 2 root wheel 46572 Feb 15 1999 /bin/[ 107 -r-xr-xr-x 2 root wheel 46572 Feb 15 1999 /bin/test (Not that this is especially new; I just checked on the home Sun 3/60 (SunOS 4.1.1_U1); it reports: dhw[13] ls -ilL `which \[ test` 6045 -rwxr-xr-x 2 root 4760 Oct 13 1990 /bin/[* 6045 -rwxr-xr-x 2 root 4760 Oct 13 1990 /bin/test* Just in case anyone else was wondering....) Cheers, david -- David Wolfskill dhw@whistle.com UNIX System Administrator voice: (650) 577-7158 pager: (888) 347-0197 FAX: (650) 372-5915 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message