IME is easiest to use * NIX line endings. Windows and IDE compilers can handle this well, and they are native to NIX * tools. Using DOS line endings creates, if not problems, inconvenience with some (even more popular) * NIX text editors. You often get the ugly “^ M” at the end of a line, and you must explicitly convert or tell your editor that he is running out of DOS lines.
source share