[PATCH v2] devtools: add script to check for non inclusive naming
Stephen Hemminger
stephen at networkplumber.org
Wed Apr 5 03:23:40 CEST 2023
On Tue, 04 Apr 2023 23:00:42 +0100
Luca Boccassi <bluca at debian.org> wrote:
> >
> > Ok, but that would mean using python and would also mean that terms like
> > segreation which are not on the official list would not be caught
>
> No need for python, it can be done with 'jq' very easily. Also there's
> 'segregate' which is close enough, it's tier 3. eg:
>
> $ wget https://inclusivenaming.org/word-lists/index.json -q -O- | jq -r '.data[] | select ((.tier == "3")) | .term'
> man-in-the-middle
> Segregate
Doing it in python allows for better UI. And makes it easier to do enhancements
like show tier 1 only, or add more words on command line, or exclude additional directories.
Feature creep can be fun...
More information about the dev
mailing list