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

Lawrence V. Cipriani lvc at tut.cis.ohio-state.edu
Thu Aug 4 22:12:50 AEST 1988


On the Sun 3/50's here at Ohio State University sh and ksh don't
work correctly when echo is given a string that terminates with
a \c.  The output from:

	echo "Enter terminal type: \c"

should be the line "Enter terminal type: " but not terminated with
a new line (and with the "'s removed).  This works in every other
sh and ksh echo I've used.  Anyone know what the problem is?
Thanks,

-- 
Larry Cipriani, AT&T Network Systems and Ohio State University
Domain: lvc at tut.cis.ohio-state.edu
Path: ...!cbosgd!osu-cis!tut.cis.ohio-state.edu!lvc (strange but true)



More information about the Comp.unix.questions mailing list