lkml.org 
[lkml]   [2009]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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


    \
     
     \ /
      Last update: 2009-04-22 22:29    [W:4.334 / U:0.272 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site