Top "End-of-line" questions

The end of a physical line

Remove end of line characters from Java string

I have string like this "hello java book" I want remove \r and \n from String(hello\r\njava\r\…

java string end-of-line
How to convert Windows end of line in Unix end of line (CR/LF to LF)

I'm a Java developer and I'm using Ubuntu to develop. The project was created in Windows with Eclipse and it's …

windows linux end-of-line
Configure Visual Studio to use UNIX line endings

We would like to use Visual Studio 2005 to work on a local copy of an SVN repository. This local copy …

visual-studio visual-studio-2005 line-endings end-of-line
SourceTree App says uncommitted changes even for newly-cloned repository - what could be wrong?

A remote git repository is just cloned to a local box using Atlassian SourceTree. Even no files have really been …

git end-of-line atlassian-sourcetree
how to check end-of-line of a text file to see if it is unix or dos format?

I need to convert the text file to dos format (ending each line with 0x0d0x0a, rather than 0…

unix dos ksh end-of-line
C++ - Read file until reaching end of line with >> operators

I have looked around a lot, and still not found how to do this, so, please bear with me. Let's …

c++ operators ifstream peek end-of-line
How to remove ^M

How can I remove the ^M character from a text file (at the end of line) in a Python script? …

python string end-of-line
CSV End of line

Hi i am trying to put end of line code in CSV format to import it to excel I tried …

excel csv delimiter end-of-line
Vim no end of line on last line or eof

I am trying to setup vim to skip adding eol on last line or eof, i have tried this :set …

vim end-of-line eof
MySQL LOAD DATA INFILE: works, but unpredictable line terminator

MySQL has a nice CSV import function LOAD DATA INFILE. I have a large dataset that needs to be imported …

mysql csv delimiter end-of-line