Re: [PATCH] power: reset: reboot-mode: Fix author email format

From: Joe Perches
Date: Mon Sep 02 2019 - 15:24:30 EST


On Mon, 2019-09-02 at 21:06 +0200, Sebastian Reichel wrote:
> Hi,
>
> On Sat, Jul 13, 2019 at 06:42:48PM +0300, Matwey V. Kornilov wrote:
> > Closing angle bracket was missing.
> >
> > Signed-off-by: Matwey V. Kornilov <matwey@xxxxxxxxxx>
> > ---
>
> Thanks, queued.

This is relatively widespread.

There are 80 more of these in the kernel tree.

$ git grep -P 'MODULE_AUTHOR.*<[^>]+$' | wc -l
81

Here's a trivial little script to fix them all:

$ git grep -P -n 'MODULE_AUTHOR.*<[^>]+$' | \
while read entry ; do \
file=$(echo $entry|cut -f1 -d:); \
line=$(echo $entry|cut -f2 -d:); \
sed -i "${line}s/\");/>\");/" $file; \
done