bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Codespell report for "gawk" (on fossies.org)


From: Fossies Administrator
Subject: Re: Codespell report for "gawk" (on fossies.org)
Date: Wed, 15 Jan 2020 14:04:20 +0100 (CET)
User-agent: Alpine 2.21 (LSU 202 2017-01-01)

Hi Koichi,

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

Yes, I forgot to mentioned that option. But I think this comfortable method is per se a bit dangerous and at least afterwards the source code differences have to be checked manually and corrected if necessary.

Regards

Jens

--
FOSSIES - The Fresh Open Source Software archive
mainly for Internet, Engineering and Science
https://fossies.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]