Date: Tue, 28 Dec 1999 01:08:21 -0800 (PST) From: "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net> To: sheldonh@uunet.co.za (Sheldon Hearn) Cc: peter.jeremy@alcatel.com.au (Peter Jeremy), vss@ulstu.ru (Vlad Skvortsov), freebsd-stable@FreeBSD.ORG Subject: Re: /bin/test broken ? Message-ID: <199912280908.BAA69692@gndrsh.dnsmgr.net> In-Reply-To: <1893.946371495@axl.noc.iafrica.com> from Sheldon Hearn at "Dec 28, 1999 10:58:15 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> > > On Mon, 27 Dec 1999 11:22:14 +1100, Peter Jeremy wrote: > > > Although it seems your real problem is: > > > $ /bin/[ 1 -ne 0 ] > > > [: ]: unexpected operator > > Ah, Peter, you are the man. :-) > > What an obscure problem report. I'm quite happy to leave things the > way they are, but as the person responsible for the newly imported > test(1), I'll fix it if someone can convince me that /bin/[ is part of a > reasonable syntax to support. The syntax is reasonable, as /bin/[ or /bin/test is about the only way one would overide a builtin [, should some shell implement test as a builtin. (The builtin man page and my recolection of history say that [ or test have never been sh or csh builtins, but I have no idea about bash, tcsh, ksh or the million other shells out there.) -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net 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?199912280908.BAA69692>