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: Wolfgang Laun
Subject: Re: Codespell report for "gawk" (on fossies.org)
Date: Wed, 15 Jan 2020 11:55:35 +0100

This is a remarkable achievement, an important step towards product
quality. My observations from a quick look:

One might not care much about the spelling in ChangeLog files but the .texi
and the .hlp files are part of the UI and deserve primary attention.

eles else gawk-5.0.1/awk
<https://fossies.org/linux/misc/gawk-5.0.1.tar.xz/gawk-5.0.1/awk.h?M=260#l_260>
is (perhaps) a typo, but not as indicated in the report. "eles" is a
somewhat unlucky abbreviation for "elements" ("elems" would be better). The
finding regarding "ther" is also interesting: "ther is a 3 combinations"
indicates a major error, not just a typo. It's risky to use the findings
for an automated correction, especially where the length of the bad word is
less than six characters or where there is more than one potential
replacement. 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.

I don't see the reason for exempting "leapyear".

Good work!
Wolfgang

PS: It's interesting that the authors of Fossies overlook (not "oversee")
errors in their language: "Here the 36 top most of a total..." should read
"Here *are* the 36 *topmost* of a total..." ;-)



On Wed, 15 Jan 2020 at 03:03, Fossies Administrator <
address@hidden> wrote:

> Hi "gawk"-team,
>
> the FOSS server fossies.org - also supporting "gawk" - offers a new
> feature "Source code misspelling reports":
>
>   https://fossies.org/features.html#codespell
>
> Such reports are normally only generated on request, but as Fossies
> administrator I have just created (for testing purposes) an analysis for
> the current "gawk" release 5.0.1:
>
>   https://fossies.org/linux/misc/gawk/codespell.html
>
> That version-independent (not linked) URL should redirect always to the
> last report (if available), so currently to
>
>   https://fossies.org/linux/misc/gawk-5.0.1.tar.xz/codespell.html
>
> Although after a first review some obviously wrong matches ("false
> positives") are already filtered out (ignored) please inform me if you
> find more of them so that I can force a new improved check if applicable.
>
> Just for information there are also two supplemental pages
>
>   https://fossies.org/linux/misc/gawk/codespell_conf.html
>
> showing some used "codespell" configurations and
>
>   https://fossies.org/linux/misc/gawk/codespell_fps.html
>
> showing all resulting obvious "false positives".
>
> Although many of the found errors are in ChangeLog files or a "test"
> directory I hope that the report can be nevertheless a little bit helpful.
>
> If appropriate, additional reports for the current or future development
> versions could be created (but in a special "test" folder that isn't
> integrated in the Fossies standard services and should - at least
> principally - also not be accessible by search engines).
>
> 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]