delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <80575AFA5F0DD31197CE00805F650D7602CDD6@wilber.adroit.com> |
From: | "Robinow, David" <drobinow AT dayton DOT adroit DOT com> |
To: | "'Barry Buchbinder'" <BBUCHBINDER AT niaid DOT nih DOT gov>, |
"Cygwin (E-mail)" | |
<cygwin AT sourceware DOT cygnus DOT com> | |
Subject: | RE: echo with sh.exe doesn't understand multiple parameters |
Date: | Thu, 19 Oct 2000 17:32:46 -0400 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2650.21) |
For what it's worth, Irix and Solaris behave the same way. > -----Original Message----- > From: Barry Buchbinder [mailto:BBUCHBINDER AT niaid DOT nih DOT gov] > Sent: Thursday, October 19, 2000 5:16 PM > To: Cygwin (E-mail) > Subject: Re: echo with sh.exe doesn't understand multiple parameters > > > Using -e, a \c at the end of the string to echo doesn't add > the CR. (Of > course one needs to escape or quote it.) Note that it seems > that anything > after the \c gets dropped. See the echo man page. > > $ echo -e blah\\c > blah$ > > - Barry Buchbinder > > ============== > To: <cygwin at sourceware dot cygnus dot com> > Subject: echo with sh.exe doesn't understand multiple parameters > From: "John Pollock" <jpollock at curl dot com> > Date: Thu, 19 Oct 2000 15:50:19 -0400 > > > > With the echo command, using -n or -e alone with sh works fine: > > $ echo -e blah > blah > $ echo -n blah > blah$ > > but when you try to use both flags at once, sh seems to get confused: > > blah$ echo -n -e blah > -e blah$ > > Is there a workaround? > > John > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |