Skip to content

Command-line utility to remove trailing whitespace from standard input or from named files.

License

Notifications You must be signed in to change notification settings

camdez/whiteout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

Command-line utility to remove trailing whitespace from standard input or from named files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages