From owner-freebsd-questions Wed Jan 30 18:52:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 45EFC37B400 for ; Wed, 30 Jan 2002 18:52:49 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id CEDC22B74A; Thu, 31 Jan 2002 03:52:45 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id 6D5925AE; Thu, 31 Jan 2002 13:52:40 +1100 (EST) Date: Thu, 31 Jan 2002 13:52:40 +1100 From: Edwin Groothuis To: Greg Quinlan Cc: FreeBSD-Questions@FreeBSD.ORG Subject: Re: Echo "\c" does not work Message-ID: <20020131135240.C823@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , Greg Quinlan , FreeBSD-Questions@FreeBSD.ORG References: <20020131022758.53617.qmail@web13306.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 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 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