Commit Graph

7 Commits

Author SHA1 Message Date
christos
2d45339e97 Remove a const. 2005-07-17 17:08:25 +00:00
christos
7fc92b0291 Explain why table is not const. 2005-07-16 22:32:36 +00:00
wiz
d3a0b4c8cd Sync usage with man page (from jmc@openbsd). 2005-07-06 07:57:19 +00:00
wiz
223c2f668b Grammar fix from jmc@openbsd. 2005-07-05 15:28:44 +00:00
wiz
370088dd17 Sort options. Refer to deroff(1) for -m description.
pipe lines through fmt.
2005-07-02 10:39:13 +00:00
christos
97ccbe263d WARNS=3 2005-06-30 16:23:29 +00:00
perry
fcc96823f6 spell(1), from OpenBSD.
This code came originally from v7/32v and thence from 4.4BSD. It was
freed by Caldera. Todd Miller cleaned up and ANSIfied the code, and
then changed it to use the mmap/binary search algorithm for looking up
words in the dictionary that look(1) uses, replacing the hash based
lookups which were faster but broken by the size of the current
dictionary.

I've done a teeny bit of additional cleanup and replaced Todd's ksh
spell(1) script with a /bin/sh script, and re-structured the code to
follow the bsd makefile way, with one executable per directory.

I also added a TODO list recommending a bunch of kinds of cleanup.

The code is, frankly, awful. It was fine in the 1970s, a time of much
more limited resources and tastes, but the world has moved on a bunch
since then. The reason for pulling this in at all is that it will make
it much easier to check in-tree documentation for spelling errors
automatically.
2005-06-29 21:06:12 +00:00