From Bugzilla Helper: User-Agent: Mozilla/4.73 [en] (WinNT; I) Description of problem: function echo() { /bin/echo -e "$*"; } export -f echo The above function when added to a .bash_profile script is not exported and therefore available to the user shell. vi tpm echo "prompt :\c" read data the following script display the "\c" and the cursor is displayed on the next line. sh tmp prompt :\c script should look this with the cursor on the same line. prompt : Version-Release number of selected component (if applicable): How reproducible: Sometimes Steps to Reproduce: 1.add the function to .bash_profile 2.login as user 3.sh ./tpm Actual Results: prompt :\c Expected Results: prompt : Additional info:
I can't reproduce this on Red Hat Linux 8.0.