This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Conflict between Cygwin 1.7 and Ubuntu for Windows 14316
- From: Evgeny Grin <k2k at yandex dot ru>
- To: cygwin at cygwin dot com
- Date: Thu, 14 Apr 2016 11:16:47 +0300
- Subject: Re: Conflict between Cygwin 1.7 and Ubuntu for Windows 14316
- Authentication-results: sourceware.org; auth=none
- Authentication-results: smtp1m.mail.yandex.net; dkim=pass header dot i= at yandex dot ru
- Openpgp: id=289FE99E138CF6D473A3F0CFBF7AC4A5EAC2BAF4
- 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>
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