Path: utzoo!utgpu!attcan!uunet!husc6!mailrus!cornell!uw-beaver!teknowledge-vaxc!sri-unix!quintus!ok From: ok@quintus.uucp (Richard A. O'Keefe) Newsgroups: comp.unix.questions Subject: Re: Why doesn't \c work in sh/ksh echo on Suns? Keywords: sh,ksh Message-ID: <248@quintus.UUCP> Date: 4 Aug 88 22:49:00 GMT References: <19256@tut.cis.ohio-state.edu> Sender: news@quintus.UUCP Reply-To: ok@quintus.UUCP (Richard A. O'Keefe) Organization: Quintus Computer Systems, Inc. Lines: 15 In article <19256@tut.cis.ohio-state.edu> lvc@tut.cis.ohio-state.edu (Lawrence V. Cipriani) writes: >On the Sun 3/50's here at Ohio State University sh and ksh [have trouble with] > echo "Enter terminal type: \c" Don't forget, AT&T "enhanced" echo(1) -- until it broke -- so there are *two* versions of echo in SunOS: /usr/bin/echo -- BSD version /usr/5bin/echo -- ATT version Just to confuse things, *both* versions echo are also built into sh. It works out which one you want by noting whether you search /usr/5bin before (you get the ATT version) or after (you get the BSD version) you search /usr/bin. THIS IS IN THE MANUAL PAGE FOR echo(1v). If you haven't already got /usr/5bin in your path, just do PATH=/usr/5bin:$PATH If you're used to System V, you'll probably want to do that anyway.