On Fri, Dec 02, 2022, Colin King (gmail) wrote:
On 02/12/2022 17:21, Sean Christopherson wrote:
On Thu, Dec 01, 2022, Colin Ian King wrote:
There is a spelling mistake in some help text. Fix it.
I assume you have a script/tool of some form to do spell checking? If so, can you point me at it? I'd love to incorporate something like that into my workflow.
https://github.com/ColinIanKing/kernelscan
It needs an appropriate dictionary to be installed. It's very fast (but sometimes makes mistakes, I need to fix those!).
./kernelscan -k src_directory > mistakes.txt
Ah, it's specifically checking messages to avoid false postives on code and whatnot. Neat!
I normally run this across the entire kernel git repo on a daily basis, and diff the new results with the previous results using meld and figure out what needs to be fixed.
You may be better off with using codespell
Heh, my kind of nitpicking people :-)
MSDOS->MS-DOS
Thanks a ton, that's exactly what I was looking for!