Differences in end of line characters

When You are working with different operating systems you encounter different line endings. Editing a file on a Linux system and opening it on a windows machine can give a weird result.

Here is a short overview which system uses which command characters:

OS Command character
Windows CR + LF
Linux LF
Mac OS <= 9 CR
Mac OS X LF