![](https://static.wixstatic.com/media/3b5532_a42b834cbd6e4888a5cdc948cef6e642~mv2.png/v1/fill/w_68,h_49,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/3b5532_a42b834cbd6e4888a5cdc948cef6e642~mv2.png)
This post lists the line endings that Windows/DOS, Linux/Unix and Mac prior to macOS use.
Windows/DOS
Carriage Return (CR) + Line Feed (LF), escape sequence: "\r\n"
hex: 0x0D 0x0A, dec: 13 10
Linux/Unix, Mac from OS X a.k.a macOS
Line Feed (LF), escape sequence: "\n"
hex: 0x0A, dec: 10
Mac Prior to OS X a.k.a. Mac OS 9 a.k.a. Classic Mac OS
Carriage Return (CR), escape sequence: "\r"
hex: 0x0D, dec: 13
References