aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/sphinx
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-11-30 16:36:32 +0100
committerJonathan Corbet <corbet@lwn.net>2020-12-03 15:10:14 -0700
commitca908577790fd0dc3070813b752d7eb7f74e609f (patch)
tree60e114957e75d030fc749a07561a5b27047932df /Documentation/sphinx
parentscripts: get_feat.pl: improve matrix output (diff)
downloadwireguard-linux-ca908577790fd0dc3070813b752d7eb7f74e609f.tar.xz
wireguard-linux-ca908577790fd0dc3070813b752d7eb7f74e609f.zip
scripts: get_feat.pl: use its implementation for list-arch.sh
Add support for the same output format as the bash script, and use its implementation instead of the previous one. I opted to do such patch in order to have a single script responsible for parsing Documentation/features and produce different outputs. As someone may rely on the past format, which is easy to parse it, get_feat.pl now gains a new command with the same output format as the previous script. As a side effect, the perl script is a lot faster, as it reads each file only once, instead of parsing files several times via a for command and grep commands inside it. This patch also changes the features list order to be case-insensitive, in order to better match the output of the existing script. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/a97f49677805ad4e6b982d02c0db8c9dfbbd20a6.1606748711.git.mchehab+huawei@kernel.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/sphinx')
0 files changed, 0 insertions, 0 deletions