bug-sh-utils
[Top][All Lists]
Advanced

[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: Mon, 28 Oct 2002 10:03:36 -0700
User-agent: Mutt/1.4i

Ronnie <address@hidden> [2002-10-27 23:26:07 +0200]:
> I am unable to get echo to recognise any of its options such as \n \c \r
> etc. I am using Redhat Linux 6.2.
> Any suggestions or reasons?
> Thanx
> Ronnie Sarkin

There is controversy over whether echo should behave like commercial
unix flavors or otherwise.  I personally prefer it to behave like
System V and interpret those options.  But others disagree.  And so
depending upon who compiled up your software they may have been
compiled as available for use or they may be available only if you
specify a -e option.

Try:

  echo -e "prompt: \c"

  man echo

Bob




reply via email to

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