Path: utzoo!utgpu!watmath!clyde!att!rutgers!mailrus!uwmcsd1!marque!uunet!steinmetz!davidsen
From: davidsen@steinmetz.ge.com (William E. Davidsen Jr)
Newsgroups: comp.unix.wizards
Subject: Re: Echo
Message-ID: <12718@steinmetz.ge.com>
Date: 2 Dec 88 21:27:34 GMT
References: <6557@june.cs.washington.edu> <1264@vsedev.VSE.COM>
Reply-To: davidsen@crdos1.UUCP (bill davidsen)
Organization: General Electric CRD, Schenectady, NY
Lines: 17

In article <1264@vsedev.VSE.COM> logan@vsedev.VSE.COM (James Logan III) writes:

| You should write a shell-script that is called by your makefile
| to test the echo in /bin and see which version is already
| installed.

ksh seems to check for the first echo on the PATH rather than the one in
/bin. On SunOS if you are running a SysV interface the echo builtin
works like SysV, while in the BSD mode it looks like V7.

That seems like a better way to me, although using an environment
variable would be acceptable. Not all users on a given machine want the
same behavior.
-- 
	bill davidsen		(wedu@ge-crd.arpa)
  {uunet | philabs}!steinmetz!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me