Subject: bin/3557: boggle uses the wrong word list
To: None <>
From: Dave Huang <>
List: netbsd-bugs
Date: 04/29/1997 19:05:54
>Number:         3557
>Category:       bin
>Synopsis:       boggle uses the wrong word list
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 29 17:20:02 1997
>Originator:     Dave Huang
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet:   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 21 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Release:        NetBSD-current as of April 28, 1997
System: NetBSD 1.2D NetBSD 1.2D (SPIFF) #37: Wed Apr 16 01:15:57 CDT 1997 i386

The Makefile for boggle uses the "web2a" wordlist, which contains
multi-word "words", i.e. ones with spaces or hyphens. Since boggle's
mkdict program filters out all words that are not completely made up
of lowercase letters, it ends up filtering out the whole list. Boggle
should be using the "web2" wordlist instead.

Try to run boggle and watch it complain:

Loading the dictionary...
Error reading dictionary
boggle: can't load /usr/share/games/boggle/dictionary

Then notice the zero-length dictionary file.

--- /usr/src/games/boggle/Makefile	Wed Apr  2 06:10:54 1997
+++ Makefile	Sun Apr  6 13:55:28 1997
@@ -9,7 +9,7 @@
 MKINDEX!=cd $(.CURDIR)/mkindex; \
 	printf "xxx:\n\techo \$${.OBJDIR}/mkindex\n" | \
 	${MAKE} -r -s -f - xxx | grep mkindex
 FILES=dictionary dictindex