On this page
Removing Superfluous Elements in Text Files
Introduction
The title of this documentation is admittedly ambiguous, but it’s difficult to be more specific. When you’re developing or writing text, unwanted characters may appear in your files, such as tabulations on empty lines, “^M” characters at the end of each line, or similar artifacts depending on the editor you’ve chosen.
Here’s how to save precious bytes :-p and most importantly, make your documents “clean”.
Removing ^M Characters at the End of Lines
Have you used Windows Wordpad? Too bad, why not use a real OS? :-p Use this command on your file to clean it:
|
|
Removing Empty Lines
|
|
or
|
|
Last updated 20 Sep 2009, 15:07 CEST.