Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!david From: david@sun.uucp (David DiGiacomo) Newsgroups: comp.unix.wizards Subject: Re: Echo Message-ID: <81086@sun.uucp> Date: 12 Dec 88 02:06:19 GMT References: <6557@june.cs.washington.edu> <960@etnibsd.UUCP> <2258@xyzzy.UUCP> Organization: Sun Microsystems, Inc. - Mtn View, CA Lines: 13 In article <2258@xyzzy.UUCP> meissner@xyzzy.UUCP (Michael Meissner) writes: >While in general, I prefer not to hard code paths, in this case pragmatism >wins out. On scripts where you need System V escape semantics (like scripts >that send control sequences to the terminal or windowing system), just hard >code the path. If the script is only going to be run on Suns, just use >/usr/5bin/echo directly, and don't futz around with the PATH. Unfortunately, /usr/5bin/echo is part of the optional System V software category which very few Sun users install. You have to do the path switching trick or perhaps give up and use echo | tr. -- David DiGiacomo, Sun Microsystems, Mt. View, CA sun!david david@sun.com