Subject: spell for NetBSD?
To: None <current-users@NetBSD.ORG>
From: Kenneth Stailey <firstname.lastname@example.org>
Date: 12/02/1994 00:22:47
I know you cat just get ispell, but there is "look" but not "spell" in
NetBSD 1.0 standard issue. As a result I threw this together:
# crude spell program based on rough description of "the first draft
# of the spell program (roughly)" in "UNIX For Beginners -- Second Edition"
# by Brian W. Kernighan
if [ $# = 0 ]
cat $* >$TMPFL
cat $TMPFL | \
tr "[ ]" "\012" | \
tr -d "[:punct:]" | \
sort -u > $TMPFL2
comm -23 $TMPFL2 /usr/share/dict/words 1>&2