[U-Boot-Users] script to delete all trailing space

Grant Likely grant.likely at secretlab.ca
Tue Mar 13 01:45:59 CET 2007


On 3/12/07, Aubrey Li <aubrey.adi at gmail.com> wrote:
> On 3/13/07, Timur Tabi <timur at freescale.com> wrote:
> > Aubrey Li wrote:
> > > Hi all Custodians,
> > >
> > > I'm suffering from coding style issues when I request a blackfin git
> > > pull to the upstream u-boot. Here I wrote a simple script(attached) to
> > > delete all the trailing space in the files. Hope it's useful for you
> > > and feel free to re-write it.
> >
> > Why don't you just use a text editor that takes care of this problem for
> > you?
> >
> Because there are a bunch of files need to be formated.

BTW, there is already a script that takes care of %90 of all
whitespace issues.  Look at scripts/Lindent in the Linux source tree.

The only whitespace is won't fix is whitespace in comments.

Cheers,
g.


-- 
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195




More information about the U-Boot mailing list