[lkml]   [2010]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] checkpatch: allow single space before labels
On Sun, 2010-10-17 at 12:38 -0700, Joe Perches wrote:
> On Sun, 2010-10-17 at 21:30 +0200, Peter Zijlstra wrote:
> > On Sun, 2010-10-17 at 09:54 -0700, Joe Perches wrote:
> > > There are a half dozen or so in sched.c
> >
> > Unlike some people, I've actually got something better to do than
> > whitespace patches.. they'll change next time the code in question needs
> > to change.
> It takes as much time to reply as to change them.
> perl -p -i -e 's/^ (\w+):/$1:/g' kernel/sched.c

If you're skilled with such things as perl I guess, me I always forget
what uses which version of regexps and need to try longer to get the
regex right that it would take to change a few lines by hand.

Anyway, I applied it to kernel/sched*.c, thanks!

 \ /
  Last update: 2010-10-17 21:51    [W:0.038 / U:14.756 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site