From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from harvard.harvard.edu ([128.103.1.1]) by archone.tamu.edu with SMTP id <45329>; Fri, 14 Feb 1992 10:58:19 -0600 Received: by harvard.harvard.edu (5.54/a0.25) (for rc@archone.tamu.edu) id AA26184; Fri, 14 Feb 92 11:57:59 EST Received: from gatech.UUCP (uucp.gatech.edu) by gatech.edu (4.1/Gatech-9.1) id AA15554 for archone.tamu.edu!rc; Fri, 14 Feb 92 11:57:23 EST Received: from skeeve.UUCP by gatech.UUCP (4.1/SMI-4.1) id AA29449; Fri, 14 Feb 92 11:56:01 EST Received: by skeeve.ATL.GA.US (smail2.5) id AA02330; 14 Feb 92 09:08:07 EST (Fri) From: gatech!skeeve!arnold@harvard.harvard.edu (Arnold D. Robbins) Date: Fri, 14 Feb 1992 08:08:05 -0600 X-Mailer: Mail User's Shell (6.5.6 6/30/89) To: rc@archone.tamu.edu Subject: a standalone test Message-Id: <9202140908.AA02330@skeeve.ATL.GA.US> > From: Byron Rakitzis > Subject: Re: Just how brain dead is SCO Unix? > Date: Mon, 10 Feb 1992 20:50:53 -0600 > > I am sure there is a GNU test out there. Try looking for a "shellutils" > package. Most likely one would have to yank test out of bash, although I have to admit to not having checked the gnu shellutils. (Anyone who thinks ksh is bloated should take a look at bash. Sheesh.) The "right" thing to do (IMHO) is to write a simple ftest program that always takes exactly one option and one argument, and does not do any of the string or number comparisons of /bin/test. ftest -x /bin/rc ftest -w /dev/null and hook things together with the shell's && and || instead of -a and -o. Use ~ or switch for string matching and expr for math. Pardon me if I've stated the obvious. Arnold Robbins -- The Basement Computer | Laundry increases Internet: arnold@skeeve.ATL.GA.US | exponentially in the UUCP: { gatech, emory }!skeeve!arnold | number of children. Bitnet: Forget it. Get on a real network. | -- Miriam Robbins