Historical reason behind different line ending at different platforms

Posted by Imran on Stack Overflow See other posts from Stack Overflow or by Imran
Published on 2009-01-07T05:32:37Z Indexed on 2010/05/12 5:54 UTC
Read the original article Hit count: 249

Why did DOS/Windows and Mac decide to use \r\n and \r for line ending instead of \n? Was it just a result of trying to be "different" from Unix?

And now that Mac OS X is Unix (-like), did Apple switch to \n from \r?

© Stack Overflow or respective owner

Related posts about textfiles

Related posts about line-endings