From owner-freebsd-questions Wed Jan 30 19:50:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web13305.mail.yahoo.com (web13305.mail.yahoo.com [216.136.175.41]) by hub.freebsd.org (Postfix) with SMTP id 0368B37B404 for ; Wed, 30 Jan 2002 19:50:22 -0800 (PST) Message-ID: <20020131035021.29469.qmail@web13305.mail.yahoo.com> Received: from [203.202.144.2] by web13305.mail.yahoo.com via HTTP; Wed, 30 Jan 2002 19:50:21 PST Date: Wed, 30 Jan 2002 19:50:21 -0800 (PST) From: Greg Quinlan Reply-To: gwq_uk@yahoo.com Subject: Re: Echo "\c" does not work To: Edwin Groothuis Cc: FreeBSD-Questions@FreeBSD.ORG In-Reply-To: <20020131135240.C823@k7.mavetju.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Actually within the scripts, because they are all shell scripts, I will have to put. echo -e "....\c" But it still means I have to modify every single **** script. So my next question is: why does /bin/echo, and builtin-sh echo different? /bin/echo "....\c" and from within a script.... echo -e "...\c"' that's no good.. :( --- Edwin Groothuis wrote: > 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/ __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message