Re: [PATCH v2] devtools: add script to check for non inclusive naming

2023-04-04 Thread Stephen Hemminger
On Tue, 04 Apr 2023 23:00:42 +0100 Luca Boccassi 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 > 'segregat

Re: [PATCH v2] devtools: add script to check for non inclusive naming

2023-04-04 Thread Luca Boccassi
On Mon, 2023-04-03 at 19:17 -0700, Stephen Hemminger wrote: > On Tue, 4 Apr 2023 00:08:30 +0100 > Luca Boccassi wrote: > > > On Mon, 3 Apr 2023 at 15:47, Stephen Hemminger > > wrote: > > > > > > Shell script to find use of words that not be used. > > > By default it prints matches. The -q (qui

Re: [PATCH v2] devtools: add script to check for non inclusive naming

2023-04-03 Thread Stephen Hemminger
On Tue, 4 Apr 2023 00:08:30 +0100 Luca Boccassi wrote: > On Mon, 3 Apr 2023 at 15:47, Stephen Hemminger > wrote: > > > > Shell script to find use of words that not be used. > > By default it prints matches. The -q (quiet) option > > is used to just count. There is also -l option > > which lists

Re: [PATCH v2] devtools: add script to check for non inclusive naming

2023-04-03 Thread Luca Boccassi
On Mon, 3 Apr 2023 at 15:47, Stephen Hemminger wrote: > > Shell script to find use of words that not be used. > By default it prints matches. The -q (quiet) option > is used to just count. There is also -l option > which lists lines matching (like grep -l). > > Uses the word lists from Inclusive

[PATCH v2] devtools: add script to check for non inclusive naming

2023-04-03 Thread Stephen Hemminger
Shell script to find use of words that not be used. By default it prints matches. The -q (quiet) option is used to just count. There is also -l option which lists lines matching (like grep -l). Uses the word lists from Inclusive Naming Initiative see https://inclusivenaming.org/word-lists/ Examp