[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: echo problem in Linux

From: Bob Proulx
Subject: Re: echo problem in Linux
Date: Fri, 1 Nov 2002 19:35:25 -0700
User-agent: Mutt/1.4i

Bob Proulx <address@hidden> [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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]