[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1287344958.1998.722.camel@laptop>
Date: Sun, 17 Oct 2010 21:49:18 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Joe Perches <joe@...ches.com>
Cc: Mike Frysinger <vapier@...too.org>,
Andy Whitcroft <apw@...onical.com>,
linux-kernel@...r.kernel.org
Subject: Re: [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!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists