From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Wed, 24 Jul 2013 07:57:52 +0200 Subject: [U-Boot] [RFC] [PATCH 5/5] MAINTAINERS: refactor file for easier processing In-Reply-To: References: <1374611299-16836-4-git-send-email-albert.u.boot@aribaud.net> <1374611383-16899-5-git-send-email-albert.u.boot@aribaud.net> <1374611383-16899-6-git-send-email-albert.u.boot@aribaud.net> Message-ID: <20130724075752.73b2837e@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Otavio, On Tue, 23 Jul 2013 17:51:27 -0300, Otavio Salvador wrote: > Hello Albert, > > First I'd like to say I do like this change and it can improve a lot > how tools can make "The Right Thing" automatically (here patman comes > to my head). Mailing maintainers is the first use I had in mind, actually, and patman could indeed do this and benefit from a scriptable way of finding a board's maintainer(s). But I'm sure other uses will crop up once the file is there. > On Tue, Jul 23, 2013 at 5:29 PM, Albert ARIBAUD > wrote: > > +# Note: list sorted by architecture, name, status and maintainer e-mail # > > +# To keep the list sorted and formatted, you can use the following vi # > > +# commands, each time placing the cursor on the headers line: # > > +# # > > +# :.,$s/\([^ ]*\) \+\([^ ]*\) \+\([^ ]*\) \+\(.*\)/\1:\2:\3:\4/ # > > +# :.,$!column -s ':' -t # > > +# :.+1,$!sort # > > +# # > > So I miss a way of doing same sorting and format using shell script. I > am not a 'vi' user (but an Emacs one) but I think the most generic way > would be to provide a shell line, or script, for it. Understood. I'll look into adding a shell (bash, unless a war erupts about this choice) script and referring to it from the file header in addition to the vi commands. I welcome -- but will hardly be able to test -- equivalent emacs commands from emacs octopi :) out here. Same could be done to boards.cfg, BTW, maybe even in a single script for both files, so I'll probably expand the scope of this submission to boards.cfg. > Regards, > > -- > Otavio Salvador O.S. Systems Thanks for your comments! Amicalement, -- Albert.