scripts/get_maintainer.pl: change --sections to print in the same style as MAINTAINERS
authorJoe Perches <joe@perches.com>
Fri, 5 Mar 2010 21:43:03 +0000 (13:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Mar 2010 19:26:34 +0000 (11:26 -0800)
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/get_maintainer.pl

index e54f72f..4cd83fa 100755 (executable)
@@ -381,8 +381,10 @@ foreach my $file (@files) {
                        $line =~ s/\\\./\./g;           ##Convert \. to .
                        $line =~ s/\.\*/\*/g;           ##Convert .* to *
                    }
+                   $line =~ s/^([A-Z]):/$1:\t/g;
                    print("$line\n");
                }
+               print("\n");
            }
     }