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 Date: Tue, 28 Jan 2003 09:39:09 +0200 (SAST) From: Gareth Gregor To: Robert Mark Bram cc: Cygwin Subject: Re: Suppress newline under cygwin bash In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII echo -en "hello" and with a newline, echo -en "hello\n" Gareth On Tue, 28 Jan 2003, 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 > > $ echo "...using -n." > ...using -n. > > $ > > 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? > > Andrew DeFaria gave me a suggestion for creating a shorter way to use drag > and dropping of path names into Cygwin. Type: > $ cd "" > Then type control-B to backup one space > (between the two "") then drag > and drop. > > Well, that is still too much typing! So I want to create an alias that will > show the cd "" and leave the cursor on the same line.. > > Any help would be much appreciated! > > Rob > :) > :-> > :-} > > > > -- > 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/ > -- 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/