Welcome to the frustration many people have had between *NIX and Windows/DOS for years. UNIX, Linux and MAC since OS X use a single Line Feed character (hex 0A) for end of lines. Windows/DOS uses the TWO characters Line Feed & Carriage Return (hex 0A and 0D repestively). I think that MAC prior to OS X uses a single carriage return character. Anyway ... that is all history.
My suggestion is to use a text editor that can handle the differences. On Windows a great editor is UltraEdit/UEStudio but that costs $ ... a very good free alternative is notepad++ (
http://notepad-plus-plus.org/) both of these editors can read and convert between the formats. I am not familiar with editors for MAC ... perhaps some other experts will help here.