lkml.org 
[lkml]   [2009]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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


    \
     
     \ /
      Last update: 2009-06-29 11:51    [W:4.727 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site