From: cyg Simple <cygsimple@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Extra CR symbol from backticks on Cygwin 2.9.0
Date: Tue, 12 Sep 2017 13:10:00 -0000 [thread overview]
Message-ID: <502a33ed-6029-5a22-c3ff-83bd382437df@gmail.com> (raw)
In-Reply-To: <61150261-b3c4-d5e5-23ff-a4320a19715c@redhat.com>
On 9/12/2017 9:06 AM, Eric Blake wrote:
> On 09/12/2017 12:38 AM, Nikolay Melekhin wrote:
>> https://www.gnu.org/software/bash/manual/bash.html#Command-Substitution
>>
>> "...with any trailing newlines deleted." That is why I expected that
>> bash should remove trailing newlines in command substitution results,
>> which are CRLF on Windows.
>
> No, newlines are LF. CR are carriage returns, not newlines.
>
Unfortunately the Google searches don't agree. I started to make the
same exclaim but decided against it after doing a Google search for newline.
--
cyg Simple
--
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
next prev parent reply other threads:[~2017-09-12 13:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-11 21:36 Nikolay Melekhin
2017-09-11 22:00 ` Eric Blake
2017-09-12 5:38 ` Nikolay Melekhin
2017-09-12 9:20 ` Andrey Repin
2017-09-12 13:03 ` cyg Simple
2017-09-12 13:06 ` Eric Blake
2017-09-12 13:10 ` cyg Simple [this message]
2017-09-13 0:11 ` Michel LaBarre
2017-09-13 14:34 ` cyg Simple
2017-09-13 18:47 ` Brian Inglis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=502a33ed-6029-5a22-c3ff-83bd382437df@gmail.com \
--to=cygsimple@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).