This is interesting. I was interested and have been tried the command
"codespell" after seeing the post. It seems fossies.org provides some
nice web interface for the command "codespell".
On the other hand, it's a trivial exercise to convert the
relevant section of fossies.org/linux/misc/gawk-5.0.1.tar.xz/codespell.html
into an awk script to edit all the occurrences into the source code base
and would be well worth the effort.
A contribution of this nature will be gratefully accepted.
As written in the page, the result is based on a third party command
"codespell" ( https://github.com/codespell-project/codespell ), so you
can locally run the command for the master branch anytime. Actually
this original command has a feature to apply the changes to the source
code base with an option "-w", so one does not have to convert the
results shown in fossies.org to apply the changes, but it seems one
can just run "codespell" in command line with excluded words/files
provided by fossies.org:
https://fossies.org/linux/misc/gawk-5.0.1.tar.xz/codespell_conf.html#excl_words