Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site moncol.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!petsd!moncol!john From: john@moncol.UUCP (John Ruschmeyer) Newsgroups: net.unix-wizards Subject: Re: In sh, is '[' a portable synonym for 'test'? Message-ID: <537@moncol.UUCP> Date: Sun, 20-Oct-85 11:39:18 EDT Article-I.D.: moncol.537 Posted: Sun Oct 20 11:39:18 1985 Date-Received: Mon, 21-Oct-85 01:01:29 EDT References: <482@phri.UUCP> <2887@sun.uucp> <531@moncol.UUCP> <5242@elsie.UUCP> Organization: Monmouth College, West Long Branch, NJ 07764 Lines: 25 >From: ado@elsie.UUCP (Arthur David Olson) >Message-ID: <5242@elsie.UUCP> >Organization: NIH-LEC, Bethesda, MD > >> Any good reason *NOT* to make the link? > >If you want your software to be portable to sites where the administrators >refuse to make the link (for *whatever* reason), don't make the link on your >own site. Actually, that almost sounds like a good reason to make the link, but never use it in your own software. Therefore you do have some compatability with the Sys V and 4.2 programmers who use '[' instead of 'test'. Now if there was a patch for the v7 'sh' to use '#' as a real comment.... -- Name: John Ruschmeyer US Mail: Monmouth College, W. Long Branch, NJ 07764 Phone: (201) 222-6600 x366 UUCP: ...!vax135!petsd!moncol!john ...!princeton!moncol!john ...!pesnta!moncol!john "It all started out as a mild curiousity in a junkyard... and now it's turned out to be quite a spirit of adventure."