History log of /openbsd-current/usr.bin/spell/look.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.7 13-Sep-2016 millert

Eliminate unnecessary isupper() check before tolower().


# 1.6 07-Sep-2016 millert

Remove other instance of _tolower


# 1.5 07-Sep-2016 millert

Avoid using the obsolete _tolower() macro.


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.4 27-Oct-2009 deraadt

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.3 03-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.2 03-Jun-2002 kjell

KNF [return(foo) -> return (foo)]. ok millert@


Revision tags: OPENBSD_3_1_BASE
# 1.1 01-Mar-2002 millert

spell command from 4.4BSD, now freed by Caldera.
I have made some significant changes:
o spell no longer uses hashed files. The algorithm for generating
the hashed files breaks down for large files. Instead, I use the
same approach as look(1) and do binary searches of mmap(2)ed files
which has acceptable performance. A side effect of this is that
spell can now search multiple word lists.
o The spell binary has been renamed to "spellprog" so as to not conflict
with the spell shell script. This is consistent with other operating
systems.
o The putsuf() and putword() functions have been renamed to
trypref() and tryword() respectively for consistency with modern
versions and for general sanity.
o the spell front-end shell script has been completely rewritten
o The code has been ANSIfied and re-style(9)d

spell currently must be compiled with -fwriteable-strings to make
the -b option work. This should be fixed.