Zitat von Chris Angelico email@example.com:
On Thu, May 3, 2012 at 10:50 PM, Vinay Sajip firstname.lastname@example.org wrote:
Although these are text files, the CRLF line endings are needed because otherwise, the files won't be presented correctly on Windows, e.g. in Notepad.
Not all Windows editors choke on \n line endings; when I'm on Windows and run into one, I open it in Wordpad (or, if I have one, a dedicated programming editor like SciTE or the Open Watcom editor). AFAIK only Notepad (of standard Windows utilities) has trouble.
Not sure if that makes a difference or not.
I think that .bat files strictly *have* to have CRLF line endings. Not sure about PowerShell, though.
In any case, having CRLF for these files sounds good to me.