Echo

David DiGiacomo david at sun.uucp
Mon Dec 12 12:06:19 AEST 1988


In article <2258 at xyzzy.UUCP> meissner at 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 at sun.com



More information about the Comp.unix.wizards mailing list