Re: [PATCH] cleanfile: a script to clean up stealth whitespace

From: Andrew Morton
Date: Tue Mar 13 2007 - 01:14:34 EST


> On Mon, 12 Mar 2007 12:16:30 -0700 "H. Peter Anvin" <hpa@xxxxxxxxx> wrote:
> 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.

Fair enough.

It'd be nice to have a clean-up-a-patch version of this. So it does
all these things, except it only changes lines which start with ^+.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/