This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Extra CR symbol from backticks on Cygwin 2.9.0
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