]> err.no Git - linux-2.6/commit
cleanfile: a script to clean up stealth whitespace
authorH. Peter Anvin <hpa@zytor.com>
Mon, 12 Mar 2007 19:16:30 +0000 (12:16 -0700)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 2 May 2007 18:58:08 +0000 (20:58 +0200)
commit12b315603a1eb95b4e4ea3389ba44bd7ded0aa35
treefd2b88b8b947124e9fe47f480b4dff5f8eb65fbb
parentdc24f0e708c8a6a27b5b967a2599c04973054398
cleanfile: a script to clean up stealth whitespace

This script cleans up various classes of stealth whitespace.  In
particular, it cleans up:

- Whitespace (spaces or tabs)before newline;
- DOS line endings (CR before LF);
- Space before tab (spaces are deleted or converted to tabs);
- Empty lines at end of file.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/cleanfile [new file with mode: 0755]