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 e54f72f6c341667a7000c384afc89e0c3854c31f..4cd83fae87cad9e9e5ca9dddcc8a0a91bd0f2e0b 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");
            }
     }