Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 1999 14:03:51 +0100 (MET)
From:      Marcin Cieslak <saper@system.pl>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: /bin/test broken ?
Message-ID:  <Pine.GSO.4.20.9912231402460.18183-100000@tricord.system.pl>
In-Reply-To: <Pine.BSF.4.05.9912230044370.27298-100000@bsd1.nyct.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 23 Dec 1999, Eric D. Futch wrote:

> -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

Recent -stable:

$ /bin/test 1 -ne 0 ]
test: syntax error
$ [ 1 -ne 0 ]
$

but on Solaris 2.5 in both sh and ksh:

$ /bin/test 1 -ne 0 ]
$ [ 1 -ne 0 ]
$

What's _the_ standard? 

-- 
                 << Marcin Cieslak // saper@system.pl >>

-----------------------------------------------------------------
SYSTEM Internet Provider                     http://www.system.pl



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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