| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
| 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 AT cygwin DOT com |
| References: | <20160413052257 DOT GB28803 AT mercury DOT ccil DOT org> <CA+Fg1xY46ANusM1MeZozkQ1u0+AHwd=vJDoWo7867az3wxPNBQ AT mail DOT gmail DOT com> <CACmJb3yHO_VhiDoyn33d+7R_rq8Bqco6VMuTdG622Bu2u52fHA AT mail DOT gmail DOT com> <20160413131128 DOT GA3162 AT mercury DOT ccil DOT org> <570E4B45 DOT 7000201 AT cs DOT umass DOT edu> |
| From: | Evgeny Grin <k2k AT yandex DOT 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> |
| 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |