aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/cleanfile
Commit message (Collapse)AuthorAgeFilesLines
* scripts: Make cleanfile/cleanpatch warn about long linesH. Peter Anvin2007-07-161-2/+52
| | | | | | | | | | Make the "cleanfile" and "cleanpatch" script warn about long lines, by default lines whose visual width exceeds 79 characters. Per suggestion from Auke Kok. Signed-off-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* cleanfile: a script to clean up stealth whitespaceH. Peter Anvin2007-05-021-0/+126
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>