Top "Line-endings" questions

Line-ending signifies end of line.

How to make all line endings (EOLs) in all files in Visual Studio Code, UNIX like?

I use Windows 10 home and I usually use Visual Studio Code (VSCODE) to edit Linux Bash scripts as well as …

windows bash visual-studio-code editor line-endings
How can I redirect PowerShell output when run from Task Scheduler?

When running a simple PowerShell script from Task Scheduler, I would like to redirect the output to a file. There …

powershell scheduled-tasks line-endings
git diff - show me line ending changes?

My editor is changing the line endings of my source files. When I do git diff, I see the same …

git line-endings git-diff
With Git, how do I turn off the "LF will be replaced by CRLF" warning

With Git, when using the autocrlf = true flag, a warning is still given when line-endings are changed. I understand what …

git line-endings git-config
How can I normalize the EOL character in Java?

I have a linux server and many clients with many operating systems. The server takes an input file from clients. …

java line-endings
How can I write a ESLint rule for "linebreak-style", changing depending on Windows or Unix?

As we all know, the linebreaks (new line) used in Windows are usually carriage returns (CR) followed by a line …

javascript windows unix eslint line-endings
PhpStorm saving with Linux line ending on Windows

Environment: Windows + PhpStorm Issue: PhpStorm saves file with Windows line endings - and for shell script it's issue so there …

windows phpstorm line-endings
What's the difference between \n and \r\n?

They both mean "new line" but when is one used over the other?

string special-characters line-endings
How to normalize working tree line endings in Git?

I have cloned a repository that had inconsistend line endings. I have added a .gitattributes that sets the text attribute …

git line-endings gitattributes
Automatic EOL conversion in Eclipse

Need to keep EOL format consistent in all resources under Eclipse workspace. I know about Eclipse preference that sets new …

eclipse line-endings