Messages in this thread | | | Date | Wed, 22 Apr 2009 22:30:05 +0200 | From | Pavel Machek <> | Subject | Re: [PATCH 0/10] MAINTAINERS - add script, patterns and misc updates |
| |
On Wed 2009-04-22 12:56:25, Joe Perches wrote: > On Wed, 2009-04-22 at 12:05 -0700, Andrew Morton wrote: > > > It is irritating to manually copy name+email as it looks today. > > > I always have to do that for the Cc: lines. > > me2 > > This seems to do a decent job of conversion: > I have this in my tree. I'll submit it later. > > perl -i -e 'local $/; while(<>) { s@P: ([^\n]+)\nM: ([^\n]+)\n@M: \1 <\2>\n@g; print; }' MAINTAINERS
It did not work for here, and I don't understand perl well enough. If possible, it would be nice to aggregate multiple entries onto one line. I.e.:
P: Len Brown M: len.brown@intel.com P: Pavel Machek M: pavel@ucw.cz P: Rafael J. Wysocki M: rjw@sisk.pl L: linux-pm@lists.linux-foundation.org S: Supported
->
P: Len Brown <len.brown@intel.com>, Pavel Machek <pavel@ucw.cz>, Rafael J. Wysocki <rjw@sisk.pl> L: linux-pm@lists.linux-foundation.org S: Supported
... Thanks for your work! Pavel
-- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
| |