Why doesn't \c work in sh/ksh echo on Suns?

William E. Davidsen Jr davidsen at steinmetz.ge.com
Wed Aug 10 05:53:15 AEST 1988


On a Sun sh or ksh check to see if /usr/5bin is before /usr/bin and acts
as if it were that type of echo. Rather than play with the PATH which I
assume you have the way you want it, use:
	alias echo="print -"		# for \c echo
	-or-
	alias echo=/bin/echo		# for -n echo

obviously this is for ksh only...
-- 
	bill davidsen		(wedu at ge-crd.arpa)
  {uunet | philabs | seismo}!steinmetz!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me



More information about the Comp.unix.questions mailing list