[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1607095090.git.mchehab+huawei@kernel.org>
Date: Fri, 4 Dec 2020 16:32:27 +0100
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To: "Jonathan Corbet" <corbet@....net>,
Linux Doc Mailing List <linux-doc@...r.kernel.org>
Cc: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH v4 0/3] improve get_feat.pl output when all features are displayed
Jon,
As requested, those patches improve the output of the script, when all features
are displayed.
The first patch was already posted as-is at v3.
Patch 2 is optional. IMO, it makes more sense for the admin guide to show
the architectures where the features are OK, then TODO, and finally the
ones that are incompatible with the features. I already sent it together
with a comment.
Patch 3 is new: it tries to reduce the width of the table, in order for it
to better fit on a terminal. With the patch, the number of columns were
reduced, in order to better fit at console output. Before the patch, the
output takes 281 lines with 158 columns (total size: 38.9 kB).
After the patch, displaying all features require 439 lines and 92 columns
(total size: 37.6 kB).
While not implemented, it shold be trivial to allow controlling the
number of columns via command line (with a 2 line patch).
I ended dropping such control basically because I was too lazy
to add the helper for the two new command line parameters ;-)
(and because it probably doesn't matter much sense for the
user to control it - I guess).
Mauro Carvalho Chehab (3):
scripts: get_feat.pl: make complete table more coincise
scripts: get_feat.pl: change the group by order
scripts: get_feat.pl: reduce table width for all features output
scripts/get_feat.pl | 160 ++++++++++++++++++++++++++++++++------------
1 file changed, 119 insertions(+), 41 deletions(-)
--
2.28.0
Powered by blists - more mailing lists