Different OS sees new line differently.
/n: Line Feed
/r: Carriage return

Windows: Sees new line as the combination CRLF. Carriage return and line feed. /r/n
Unix: Sees new line as single line feed. /n
Mac os: It knows only /r

Hope this helps.