mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] scripts/get_maintainer.pl: Change --sections to print in the same style as MAINTAINERS
Date: Fri, 15 Jan 2010 17:52:10 -0800	[thread overview]
Message-ID: <1263606730.15135.46.camel@Joe-Laptop.home> (raw)
In-Reply-To: <4B510EFE.50201@s5r6.in-berlin.de>

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");
 	}
     }
 




      reply	other threads:[~2010-01-16  1:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-13 18:41 [PATCH] scripts/get_maintainer.pl: Add --sections, print entire matched subsystem Joe Perches
2010-01-14 23:12 ` Andrew Morton
2010-01-15  1:42   ` [PATCH V2 (changelog update only)] " Joe Perches
2010-01-15 14:28     ` Stefan Richter
2010-01-16  0:43       ` Joe Perches
2010-01-16  0:57         ` Stefan Richter
2010-01-16  1:52           ` Joe Perches [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1263606730.15135.46.camel@Joe-Laptop.home \
    --to=joe@perches.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stefanr@s5r6.in-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®