[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A488DD2.1020303@panasas.com>
Date: Mon, 29 Jun 2009 12:48:02 +0300
From: Boaz Harrosh <bharrosh@...asas.com>
To: Joe Perches <joe@...ches.com>
CC: linux-kernel@...r.kernel.org, trivial@...nel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH 00/62] Remove unnecessary semicolons
On 06/28/2009 07:26 PM, Joe Perches wrote:
> Found by script
> #! /bin/bash
>
> from=";\s*;\s*\n"
> to=";\n"
>
> for file in $(grep -rP --include=*.[ch] -li $from *) ; do
>
> perl -i -e \
> "local $/; while(<>) { s/$from/$to/g; print; }" $file
>
> done
>
> Some false positives removed manually
>
Do we want this in checkpatch.pl?
I do.
Boaz
--
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