Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

echo "house \c" in zsh not working

Status
Not open for further replies.

sumncguy

IS-IT--Management
May 22, 2006
118
US


> echo "house \c" <- ran from zsh n.g.
> exec ksh < start ksh
$ echo "house \c" < run from ksh
house $ < output Otay pank

Anyone know why this is ?


 
Have you tried /bin/echo ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 

-- Or --

echo -e "house \c"

-- Or --

echo -n "house "

[3eyes]

----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 
Yes tried "-n" but nto /bin/echo or "-e"
I will give those a shot.

Thanks fellas

Chris
 
or use printf instead of echo

printf "%s " "House"


HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top