www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/19/15:51:09

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
From: "John Pollock" <jpollock AT curl DOT com>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: echo with sh.exe doesn't understand multiple parameters
Date: Thu, 19 Oct 2000 15:50:19 -0400
Message-ID: <NEBBJPGNBOKKDAEIIMIKCEDHCCAA.jpollock@curl.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019