[Bug 293659] Dictionaries are not sorted
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 293659] dictionary files in /usr/share/dict are not sorted"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 293659] dictionary files in /usr/share/dict are not sorted"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 293659] dictionary files in /usr/share/dict are not sorted"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 293659] dictionary files in /usr/share/dict are not sorted"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 08 Mar 2026 03:46:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293659
Bug ID: 293659
Summary: Dictionaries are not sorted
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: misc
Assignee: bugs@FreeBSD.org
Reporter: jwillia3@proton.me
The dictionary files in /usr/share/dict are not sorted.
I don't know if anything in base is actually using these, but I would expect
these files to be sorted. The port bsd-spell recommends
All word (and stop) lists must be sorted in lexicographical order with
case folded. The simplest way to achieve this is to use “sort -df”. If
the word files are incorrectly sorted, bspell will not be able to operate
correctly.
Ex:
export LC_ALL=C.UTF-8; i=/usr/share/dict/words; sort -df $i >a; diff $i a
31894d31893
< caulk
31916a31916
> caulk
78898d78897
< gooey
78928a78928
> gooey
99811d99810
< Jean-Pierre
99817a99817
> Jean-Pierre
--
You are receiving this mail because:
You are the assignee for the bug.