Messages in this thread Patch in this message | | | Subject | [PATCH] scripts/get_maintainer.pl: Change --sections to print in the same style as MAINTAINERS | From | Joe Perches <> | Date | Fri, 15 Jan 2010 17:52:10 -0800 |
| |
On Sat, 2010-01-16 at 01:57 +0100, Stefan Richter wrote: > > The MAINTAINERS file uses tab or space after "^[A-Z]:" > > Perhaps that format should be kept. > Right, the original format is actually better (if you want to tweak your > output at all).
Signed-off-by: Joe Perches <joe@perches.com> --- diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 4cd2b4c..8461452 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -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"); } }
| |