Index | Thread | Search

From:
Lloyd <ng2d68@proton.me>
Subject:
[patch] /usr/share/dict/ sorting errors
To:
"tech@openbsd.org" <tech@openbsd.org>
Date:
Tue, 16 Sep 2025 05:59:27 +0000

Download raw body.

Thread
  • Lloyd:

    [patch] /usr/share/dict/ sorting errors

Per the README web2 is implied to not contain hyphenated terms.

web2 is by default installed to /usr/share/dict/words but was thus not
sorted in dictionary order per `sort -df`.

The two names that were removed were already duplicated in propernames.

Additionally, a sorting error for Piran/Piotr was flipped.

Regards
Lloyd

Index: propernames
===================================================================
RCS file: /cvs/src/share/dict/propernames,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 propernames
--- propernames	10 Feb 2015 09:33:27 -0000	1.7
+++ propernames	16 Sep 2025 05:03:38 -0000
@@ -468,11 +468,11 @@ Jayant
 Jayesh
 Jean
 Jean-Christophe
-Jean-Pierre
 Jeanette
 Jeanne
 Jeannette
 Jeannie
+Jean-Pierre
 Jeany
 Jef
 Jeff
@@ -922,8 +922,8 @@ Pilar
 Pilot
 Pim
 Ping
-Piran
 Piotr
+Piran
 Pitawas
 Plastic
 Po
Index: web2
===================================================================
RCS file: /cvs/src/share/dict/web2,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 web2
--- web2	16 Dec 2017 13:01:22 -0000	1.8
+++ web2	16 Sep 2025 05:03:39 -0000
@@ -99788,8 +99788,6 @@ jealousy
 Jeames
 Jean
 jean
-Jean-Christophe
-Jean-Pierre
 Jeanette
 Jeanie
 Jeanne