Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2002 13:52:40 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Greg Quinlan <gwq_uk@yahoo.com>
Cc:        FreeBSD-Questions@FreeBSD.ORG
Subject:   Re: Echo "\c" does not work
Message-ID:  <20020131135240.C823@k7.mavetju.org>
In-Reply-To: <20020131022758.53617.qmail@web13306.mail.yahoo.com>; from gwq_uk@yahoo.com on Wed, Jan 30, 2002 at 06:27:58PM -0800
References:  <20020131022758.53617.qmail@web13306.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 30, 2002 at 06:27:58PM -0800, Greg Quinlan wrote:
> This is quite a small thing but does anyone know why echo "\c" does not work.
> It is suppose to echo without a new line.
> 
> I am doing a cut-over of a SCO System (IBCS2) to FreeBSD and I have loads of
> shell scripts with echo no new line done this way. The man page says it is
> valid. I do know "echo -n"

got it: try /bin/echo \\c

'echo' uses the shells builtin echo.

sorry for the first mail,
Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020131135240.C823>