From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752487AbdGXBip (ORCPT ); Sun, 23 Jul 2017 21:38:45 -0400 Received: from smtprelay0149.hostedemail.com ([216.40.44.149]:44551 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751853AbdGXBii (ORCPT ); Sun, 23 Jul 2017 21:38:38 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::,RULES_HIT:41:355:379:541:560:599:800:960:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3653:3865:3866:3867:3868:3870:3871:3872:3874:4321:4362:5007:6691:7903:10004:10400:10848:11232:11658:11914:12043:12663:12740:12760:12895:13069:13311:13357:13439:14096:14097:14181:14659:14721:21080:21627:30054:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: dust91_2e1380e2f133c X-Filterd-Recvd-Size: 2183 Message-ID: <1500860314.28002.1.camel@perches.com> Subject: Re: [PATCH Y.A. RESEND] MAINTAINERS: fix alpha. ordering From: Joe Perches To: Linus Torvalds , Randy Dunlap Cc: LKML , Andrew Morton Date: Sun, 23 Jul 2017 18:38:34 -0700 In-Reply-To: References: Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.6-1ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2017-07-23 at 16:14 -0700, Linus Torvalds wrote: > On Sun, Jul 23, 2017 at 1:00 PM, Linus Torvalds > wrote: > > > > Anyway, clearly my script showed something. I think my script is still > > doing the right thing, it's just that the input is questionable. > > I added a few actual checks for the error cases to the script, fixed > up the problems, and committed the end result. > > My perl skills are still very dubious, so I'm not proud of the script, No one should be _that_ proud of perl skilz. Not even monks. > but it's there as "scripts/parse-mainainers.pl" now. The "output > sorted result" part could *easily* be changed into "output sorted > result into separate files based on the first word of the header" or > something. And match $map{$case} for various patterns too. > But in the meantime, at least that MAINTAINERS file should _really_ be > alpha-sorted now. Thanks. And for easy diffs the script should write out both a modified MAINTAINERS without the matched sections and a new file with the matched sections.