[TUHS] test / [

Greg 'groggy' Lehey grog at lemis.com
Wed Dec 5 09:25:15 AEST 2007


On Wednesday, 21 November 2007 at  8:51:04 -0500, Jim Capp wrote:
> On Wed, Nov 21, 2007 at 01:35:53PM +0000, Tim Bradshaw wrote:
>> Does anyone know (remember) which Unices had .../bin/[ be a link
>> to .../bin/test.  I remember this being the case, but it is not so on
>> any recent Solaris. It is the case on my Mac, so in at least one BSD
>> derivative.  I looked through a 7th edition tarball from the archive
>> and it's not the case there. So my guess is that it is a BSDism, and
>> it probably was the case in SunOS 4 and before, and I guess on at
>> least 4.2BSD & later.
>
> I remember using /bin/[ in SCO Xenix and SCO Unix, and AT&T SYS III &
> SYS V

FreeBSD and NetBSD still have this link:

$ ls -li /bin/[ /bin/test
683091 -r-xr-xr-x  2 root  wheel  7460 Aug 19  2006 /bin/[
683091 -r-xr-xr-x  2 root  wheel  7460 Aug 19  2006 /bin/test

I suppose OpenBSD does too, but I don't have a machine to check.

Greg
--
Finger grog at lemis.com for PGP public key.
See complete headers for address and phone numbers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20071205/dc8a3bd0/attachment.sig>


More information about the TUHS mailing list