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 |
From: | "Robert Mark Bram" <relaxedrob AT optushome DOT com DOT au> |
To: | "Cygwin" <cygwin AT cygwin DOT com> |
Subject: | Suppress newline under cygwin bash |
Date: | Tue, 28 Jan 2003 18:19:37 +1100 |
Message-ID: | <DDEDIPLLKIAMLBCBFCHEIEOHCDAA.relaxedrob@optushome.com.au> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
Importance: | Normal |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |