| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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 <gareth AT vukanet DOT co DOT za> |
| To: | Robert Mark Bram <relaxedrob AT optushome DOT com DOT au> |
| cc: | Cygwin <cygwin AT cygwin DOT com> |
| Subject: | Re: Suppress newline under cygwin bash |
| In-Reply-To: | <DDEDIPLLKIAMLBCBFCHEIEOHCDAA.relaxedrob@optushome.com.au> |
| Message-ID: | <Pine.LNX.4.44.0301280938300.3822-100000@madiba.vukanet.co.za> |
| MIME-Version: | 1.0 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |