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

Aubrey Li aubrey.adi at gmail.com
Tue Mar 13 03:49:40 CET 2007


On 3/13/07, Grant Likely <grant.likely at secretlab.ca> wrote:
>
> 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.


Lindent can't deal with assemble file. And 90% is far away from enough. The
patch should match the u-boot coding style requirements 100%.

-Aubrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070313/ce80ea99/attachment.htm 


More information about the U-Boot mailing list