I got sidetracked while hacking on a Firefox bug this evening. I decided to create a tool for myself that would easily strip end of line white space from any given file.
It's called Pyspace and it's really easy to use. Already has made my life easier. hope it helps you too. Here's the source:Pyspace Source Code