Command-line utility to remove trailing whitespace from standard input or from named files.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
man
spec
.gitignore
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
whiteout.gemspec

README.md

Whiteout

Build Status

Remove annoying trailing whitespace from files.

Warning: this is alpha-quality code written with the assistance of several glasses of gin. It's entirely possibly that it may eat your files, your children, or your future, and I disclaim responsibility for any of that.

Installation

RubyGems:

$ gem install whiteout
$ whiteout -h

Use

$ echo -e "foo  \nbar" | whiteout
foo
bar
$ whiteout file1.rb file2.rb # modified in place

Issues

http://github.com/camdez/whiteout/issues