Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/camdez/whiteout

Command-line utility to remove trailing whitespace from standard input or from named files.
https://github.com/camdez/whiteout

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

Whiteout
========

[![Build Status](https://secure.travis-ci.org/camdez/whiteout.png?branch=master)](http://travis-ci.org/camdez/whiteout)

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:

```bash
$ gem install whiteout
$ whiteout -h
```

Use
---

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

Issues
------