Originally posted by Warmduvet
I set the value of PS1 in my .bash_profile so I dont have to use the bash "bash2.05..." prompt
would this be the cause?
Could be. But to me it looks like didn't actually have a read command after echo command.
You need a read command after the echo to have your script waiting for input from the keyboard. If you don't, the script just ends, and the normal shell-prompt appears (after the echoed text, because you used the -n option).