whitespace removes whitespace errors
Perl
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README
example.txt
use_this_example.txt
whitespace.pl

README

whitespace.pl removes whitespace errors in files.

A whitespace error is:
	- tabs in an (else) empty line
	- spaces in an empty line
	- or both
	- whitespaces before the newline character

Whitespace errors are created when working with a auto-indent
text editor like vim or some IDEs. This script removes the errors from
the file. The clean file is written back to the original file.