Commit Graph

12 Commits

Author SHA1 Message Date
christos
7284ae463f use c99 initializers. 2006-10-22 16:36:44 +00:00
peter
e263dfd62f WFORMAT is no more... 2006-10-08 17:52:28 +00:00
christos
cdab3a7a06 More programs using efun. 2006-08-26 18:17:41 +00:00
wiz
559504cae5 lexi_co_graphical, with "co". From Igor Sobrado in PR 32231. 2005-12-04 09:14:58 +00:00
wiz
5219255abf getfsent(3) does not contain any information about the (nonexisting)
function getfstype(), so don't MLINK it. Remove getfstype from other
places that reference it too.

Noted by jmc@openbsd.
2005-10-03 14:56:32 +00:00
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