bug in spell

kaplan at cmcl2.UUCP kaplan at cmcl2.UUCP
Wed Mar 4 07:40:46 AEST 1987


Here's a good one.  It really makes you lose confidence in UNIX text processing
tools, especially 'spell'.  Try the following:

prompt > spell -v
aniversery
^D
prompt >

(Don't type 'prompt >', that's your prompt.)
spell does not flag the word as being misspelled.  I tried this on various
vanilla (direct from the factory ) systems and none thought that the word was
misspelled.  the -x option says that the root is the whole word and spellout
says that the word IS in the hlist.  However, when I made a new hlist directly
from a words file that did not have the word,  it still seemed to appear in the
hlist!  This would lend me to believe that the bug is in spellin.  Anyone
who can show me why this is not wrong or explain it better, please send me
mail (I do not subscribe to this newsgroup) and I will summarize to the net
if necessary.

Laurence S. Kaplan
NYU Ultracomputer Research Project
715 Broadway  Rm. 1005
New York, NY  10003
(212) 460-7327
arpa:	kaplan at cmcl2
uucp:	{ihnp4,seismo}!cmcl2!kaplan



More information about the Comp.bugs.4bsd.ucb-fixes mailing list