Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn) Newsgroups: net.unix-wizards Subject: Re: Re: In sh, is '[' a portable synonym Message-ID: <2479@brl-tgr.ARPA> Date: Sun, 27-Oct-85 02:32:41 EST Article-I.D.: brl-tgr.2479 Posted: Sun Oct 27 02:32:41 1985 Date-Received: Tue, 29-Oct-85 01:14:52 EST References: <313@bdaemon.UUCP> <13400016@mirror.UUCP> <132@oracle.UUCP> Organization: Ballistic Research Lab Lines: 8 If your Bourne shell has "[" built-in, it will probably have "test" built-in, too, so the efficiency argument is moot. I would like to again make the point that NOTHING anyone does is going to guarantee that ANY particular code (shell script or not) will necessarily work on all implementations of UNIX. The approach I prefer is to provide as close to the same common environment as possible everywhere; this reduces porting problems substantially.