Consistent newlines in FTP mode for text files?

Posted by Kristopher Ives on Super User See other posts from Super User or by Kristopher Ives
Published on 2010-04-07T20:39:22Z Indexed on 2010/04/07 20:43 UTC
Read the original article Hit count: 390

Filed under:
|
|

I use Linux for hosting and editing code, but there are others at work that are using Windows. Sometimes they make the files have \r\n in them, and it's causing problems with version control.

Should they be using the ASCII mode in their FTP manager? Should that force the line endings to be \n when uploading from Windows to Linux?

© Super User or respective owner

Related posts about linux

Related posts about Windows