Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <5.2.0.9.2.20030127233002.02882c90@pop3.cris.com> X-Sender: rrschulz AT pop3 DOT cris DOT com Date: Mon, 27 Jan 2003 23:35:53 -0800 To: cygwin AT cygwin DOT com From: Randall R Schulz Subject: Re: Suppress newline under cygwin bash In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Robert, At 23:19 2003-01-27, Robert Mark Bram wrote: >Howdy all! > >I have noticed that the two ways I have read about to suppress newline >characters in the echo command do not seem to be working. Here is what I >have tried: > >$ echo "hi there\c" >hi there\c This is csh / tcsh's way of suppressing the terminal newline usually supplied by the "echo" command. It also documented in the man page to work with the separate echo executable, "/bin/echo.exe", but it does not do so for me (for whatever reason). It does not work in the BASH built-in echo command. >$ echo "...using -n." >...using -n. > >$ You have to give the "-n" as a separate option argument preceding the string or strings to be echoed. >Quoted or unquoted, the result is the same. I tried doing a google search >(and cygwin archive search) for "echo suppress newline" but did not find >anything related to cygwin. > >BTW.. my purpose? It doesn't matter--you're allowed. >... > >Any help would be much appreciated! > >Rob Randall Schulz -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/