Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1a 7/7/83; site rlgvax.UUCP
Path: utzoo!linus!decvax!harpo!seismo!rlgvax!guy
From: guy@rlgvax.UUCP (Guy Harris)
Newsgroups: net.followup
Subject: Re: shell archives
Message-ID: <937@rlgvax.UUCP>
Date: Mon, 1-Aug-83 03:53:15 EDT
Article-I.D.: rlgvax.937
Posted: Mon Aug  1 03:53:15 1983
Date-Received: Mon, 1-Aug-83 12:54:29 EDT
References: <851@pur-phy.UUCP>
Organization: CCI Office Systems Group, Reston, VA
Lines: 13

Actually, there's a simple fix for the 'if [ "$1" = "" ]' problem; just
say "ln /bin/test /bin/[", which has been done in Berkeley's UNIX and
several others.  (The history of the "test"/"[" command seems a bit
convoluted, given 1) the fact that the "test" program behaves properly if
its name is "[", 2) the fact that there is a comment in the S3 shell to
the effect that "builtin.c is for those things that Bourne never intended
to be built in" and 3) the fact that the V7 shell as distributed has hooks
to build "[" in, but NOT under the name of "test"!  Curiouser and curiouser...)

	Guy Harris
	Computer Consoles, Inc.
	Office Systems Group
	{seismo,mcnc,we13,brl-bmd,allegra}!rlgvax!guy