Archive for the ‘Programming’ Category

Fixing Extra Newlines in Text Files

September 11th, 2010 Comments off

When editing source code you often come across files with additional blank lines that shouldn’t be there.

Extra blank lines

The problem is generally caused by someone editing the file with a text editor which doesn’t understand and maintain the different newline types. You then end up with a file containing a mix of different line endings. Read more…

Categories: Programming Tags: