Date: Wed, 30 Jan 2002 19:50:21 -0800 (PST) From: Greg Quinlan <gwq_uk@yahoo.com> To: Edwin Groothuis <edwin@mavetju.org> Cc: FreeBSD-Questions@FreeBSD.ORG Subject: Re: Echo "\c" does not work Message-ID: <20020131035021.29469.qmail@web13305.mail.yahoo.com> In-Reply-To: <20020131135240.C823@k7.mavetju.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <edwin@mavetju.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020131035021.29469.qmail>