lkml.org 
[lkml]   [2001]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] remove trailing whitespace
On Fri, Nov 23, 2001 at 08:34:36PM +0000, Padraig Brady wrote:
> I used sed, but yes the following does
> the same as downloading and applying the patch:
> find linux -type f | xargs perl -wi -pe 's/[<space><tab>]+$//'
> (obviously replace <space> & <tab> with the appropriate chars).
>
> Note also that after (bz2) compression the space saving drops
> from 224,654 to 139,669 bytes, which is still good.
>
> Padraig.

Running Lindent on the kerneltree would be far more yielding, as
it would, apart from removing extraoneous whitespace, also format
all code in a sane manner. However, this is unlikely to ever happen; I
seem to recall that Linus has commented on this before.


Regards: David Weinehall
_ _
// David Weinehall <tao@acc.umu.se> /> Northern lights wander \\
// Maintainer of the v2.0 kernel // Dance across the winter sky //
\> http://www.acc.umu.se/~tao/ </ Full colour fire </
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.045 / U:0.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site