-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At some point hitherto, Jerry Feldman hath spake thusly:
> Actually, [ is a link to test. Linux uses a symlink, some Unixes use hard 
> links. 
> -rwxr-xr-x    1 root     root        17496 Sep 20  2001 /usr/bin/test
> lrwxrwxrwx    1 root     root            4 Dec  1 13:42 /usr/bin/[ -> test
> 
> And yes, BASH has it built in, but on some of the older Bourne shells it is 
> not built in. 

As Tom points out, modern flavors of Unix generally use a
Bourne-derivative, Posix-compliant shell (often referred to as the
Posix shell) which includes these as a built-in.  The original Bourne
shell is generally shipped on these systems too, but you often need to
modify your configuration or specify the full path to it to use it.
Most will not do this, as the Bourne shell lacks nice features that
most other modern shells have.

Few shells still rely on the existence of /usr/bin/test or its link to
[, though I do often see it used by the make utility

- -- 
Derek Martin               [EMAIL PROTECTED]    
- ---------------------------------------------
I prefer mail encrypted with PGP/GPG!
GnuPG Key ID: 0x81CFE75D
Retrieve my public key at http://pgp.mit.edu
Learn more about it at http://www.gnupg.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8xFGXdjdlQoHP510RAtmRAJ46Yn2rVMUfs0i0wkBmTSZbK7WKegCgt5Gh
pzQE9zjvzRCBGTO5cZw4oGI=
=upIm
-----END PGP SIGNATURE-----

*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to