# The Great Newline Schism

**URL:** <https://discourse.codinghorror.com/t/the-great-newline-schism/123>\
**Category:** blog\
**Created:** [January 18, 2010, 12:00am UTC](https://discourse.codinghorror.com/t/the-great-newline-schism/123 "2010-01-18T00:00:00Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![MatthewD](https://discourse-cdn.codinghorror.com/letter_avatar_proxy/v2/letter/m/5fc32e/32.png) [@MatthewD](https://discourse.codinghorror.com/u/MatthewD)\
**Post date:** [June 27, 2010, 12:00am UTC](https://discourse.codinghorror.com/t/the-great-newline-schism/123/25 "2010-06-27T00:00:00Z")

</div>

One way to overcome the line-ending problem when working on multiple operating systems is to use your revision control system.

For example, Subversion can be configured to automatically checkout files with the correct line endings based on the platform on which you are running. If you check-in a file on Windows using CRLF line endings, then checkout the same file under Unix, Subversion gives you LF endings instead.

See here for further information:  
[http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html](http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html)

---

_[View the full topic](https://discourse.codinghorror.com/t/the-great-newline-schism/123)._
