Re: echo problem in Linux
[email protected] (Bob Proulx) Fri, 1 Nov 2002 19:35:25 -0700
| Newsgroups | gmane.comp.gnu.sh-utils.bugs |
|---|---|
| Message-ID | <[email protected]> |
Bob Proulx <[email protected]> [2002-11-01 18:54:11 -0700]: > Try forcing the version from sh-utils / coreutils of which this list > is concerned about. This list is for the standalone versions. The > one built into your shell is the shell version. We can't help with > the built in shell version. > > /bin/echo -e "prompt: \c"; read junk You know I should not have said that. I hate hard coded paths like /bin/anything to appear in my code. They always come back and bite me eventually. I will modify my suggestion and recommend using printf instead in cases like this. printf "prompt: "; read junk That is much more standard and should do exactly what you want. Bob