Subject: misc/32231: spell(1) uses _lexicographically_ ordered wordlists
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <igor@string1.ciencias.uniovi.es>
List: netbsd-bugs
Date: 12/04/2005 00:40:00
>Number: 32231
>Category: misc
>Synopsis: spell(1) uses _lexicographically_ ordered wordlists
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 04 00:40:00 +0000 2005
>Originator: Igor Sobrado
>Release: NetBSD 2.0.2
>Organization:
University of Oviedo
>Environment:
<The following information is extracted from your kernel. Please>
<append output of "ldd", "ident" where relevant (multiple lines).>
System: NetBSD altair.v6.local 2.0.2 NetBSD 2.0.2 (GENERIC_LAPTOP) #0: Wed Mar 23 08:59:09 UTC 2005 jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-0-2-RELEASE/i386/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC_LAPTOP i386
Architecture: i386
Machine: i386
>Description:
When a words list is ordered following the principles and
practices of dictionary making we say that it is lexicographically
ordered, not lexigraphically ordered.
>How-To-Repeat:
Reading a lexicographically ordered wordlist... a dictionary. ;)
>Fix:
--- spell.1 2005-12-04 01:23:40.000000000 +0100
+++ spell.1.new 2005-12-04 01:24:22.000000000 +0100
@@ -129,7 +129,7 @@
or the local stop list,
.Pa /usr/local/share/dict/stop .
.Pp
-All word (and stop) lists must be sorted in lexigraphical order
+All word (and stop) lists must be sorted in lexicographical order
with case folded.
The simplest way to achieve this is to use
.Dq sort -df .
@@ -240,7 +240,7 @@
.Nx
.Nm
command does not use hashed word files.
-Instead, it uses lexigraphically sorted files and the same technique
+Instead, it uses lexicographically sorted files and the same technique
as
.Xr look 1 .
.Sh BUGS
>Unformatted:
<Please check that the above is correct for the bug being reported,>
<and append source date of snapshot, if applicable (one line).>