Bash shell script issue

Erik Soderquist ErikSoderquist@gmail.com
Wed Sep 7 17:41:00 GMT 2016


On Wed, Sep 7, 2016 at 11:48 AM, Marco Atzeri wrote:
>> I have been using notepad++ for my windows editor.
>
> \r = Carriage Return
> \n = New Line / Line Feed
>
> so Notepad++ produced a file with CRLF as line termination and you need
> to convert it with d2u.

Notepad++ can also do unix line termination, and I have that set as my
default; however, if the file has mixed terminations, I find I have to
manually convert to windows line termination and then reconvert to
unix line termination to fully correct this (very weird) occurrence.

-- Erik

--
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



More information about the Cygwin mailing list