X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=gvkKzUwakVIGuNIr
	Y9+59S8IxobQHhBjgPkJ0nlf0JF6JTc8eBIu/pU4v7QyjIRIfFyrAL+hGBgheyvh
	9v4K6VFvnGG4dii/P4iBHT7zPBUgts79f1ruTy8cnBuE168fr511gI1mliM6c4aW
	BM7RtAb1VziylE//nd32hjVYHQU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=2kO8fu1ahVrfHdcqT1aI6w
	H5Lfs=; b=x74W/Nwat6ZiSwlAdTdD/4GrMkWD6afd9hLzxRmr6bq7ohd7zkz30i
	1W7rIGJTdarMqP4cKUZwES6Z/swQYP7TgfYkqwnfItA+AJJQ+C9fobjzGlqraNuQ
	eRKXA29LgcUGmrai/PkuZ6ag1C+YSWtcLIt23unMs4XdoKzV7SmUM=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=HAuthentication-Results:header.i, five, wishes, UD:ru
X-HELO: forward16m.cmail.yandex.net
Authentication-Results: smtp1m.mail.yandex.net; dkim=pass header.i=@yandex.ru
X-Yandex-ForeignMX:  US
X-Yandex-Suid-Status: 1 0
Subject: Re: Conflict between Cygwin 1.7 and Ubuntu for Windows 14316
To: cygwin@cygwin.com
References: <20160413052257.GB28803@mercury.ccil.org> <CA+Fg1xY46ANusM1MeZozkQ1u0+AHwd=vJDoWo7867az3wxPNBQ@mail.gmail.com> <CACmJb3yHO_VhiDoyn33d+7R_rq8Bqco6VMuTdG622Bu2u52fHA@mail.gmail.com> <20160413131128.GA3162@mercury.ccil.org> <570E4B45.7000201@cs.umass.edu>
From: Evgeny Grin <k2k@yandex.ru>
Openpgp: id=289FE99E138CF6D473A3F0CFBF7AC4A5EAC2BAF4
Message-ID: <570F51EF.7070401@yandex.ru>
Date: Thu, 14 Apr 2016 11:16:47 +0300
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <570E4B45.7000201@cs.umass.edu>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes



On 13.04.2016 16:36, Eliot Moss wrote:
> I tried it myself
> and found that cmd's echo adds a space after "stuff".  If I do:
> c:\Users\moss> echo stuff> file1
> (Note: no space before the > !)
> It writes "stuff" without the extra space.
cmd's echo doesn't add anything. It's just completely different from
sh/bash echo.
cmd's echo prints to stdout *whole command line*, ignoring first five
characters ('echo' itself and next char). It preserves any quoting and
trailing and leading spaces.

-- 
Best Wishes,
Evgeny Grin

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

