Re: [PATCH Y.A. RESEND] MAINTAINERS: fix alpha. ordering

From: Linus Torvalds
Date: Sun Jul 23 2017 - 16:01:01 EST


On Sun, Jul 23, 2017 at 12:49 PM, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> The end result looks ok. I can run
>
> perl parse-maintainers.pl < MAINTAINERS > outfile
>
> and the end result is actually a *properly* sorted MAINTAINERS file as
> far as I can tell.

Yeah, there's something wrong there. I end up with fewer lines than I
started with.

I suspect there is some duplicated section header - the way I do that
associated array, any duplicate entry with the same header would end
up being collapsed into just the last entry.

In fact, it looks like there were four copies of "GREYBUS PROTOCOLS
DRIVERS". WTF? I didn't check if there was something else odd going
on.

I guess they'd need to be made unique somehow too.

Anyway, clearly my script showed something. I think my script is still
doing the right thing, it's just that the input is questionable.

Linus