
Hi Otavio,
On Tue, 23 Jul 2013 17:51:27 -0300, Otavio Salvador otavio@ossystems.com.br 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 albert.u.boot@aribaud.net 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,