Messages in this thread | | | Date | Mon, 29 Jun 2009 12:48:02 +0300 | From | Boaz Harrosh <> | 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
| |