kholtman/afio — Issue #2: [PATCH] Remove trailing whitespaces
Author: jaalto
Created: 2012-02-05 23:45:30+00:00
State: open

It would be nice if trailing whitespaces were weed out from the files. This would help interacting with Git.

Put e.g. following alias to your shell startup files and run it:

_whitespace ()
{
local help="Remove trailing whitespaces from list of files"
sed --in-place 's/[ \t]\+$//' "$@"
}