summaryrefslogtreecommitdiff
path: root/usr.bin/spell
AgeCommit message (Collapse)Author
2003-07-10Prevent getopts from interpreting +X as -X; avoid the need for a hack.Todd C. Miller
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
where applicable.
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-06-04mop up some more 3/4 license issuesTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.Todd C. Miller
2003-03-11files with dead .Xr's;Jason McIntyre
left .Xr, but removed man page number as suggested by mpech@ more help and ok millert@
2003-02-08When creating > 1 files with mktemp(1), make sure that if the creationPeter Valchev
of the n'th (n>1) file fails, the previous ones get removed before exit(1) Idea by jason; ok millert deraadt
2002-11-27Ressurect -l flag to be compliant with spell(1).margarida
millert@ ok
2002-06-03KNF [return(foo) -> return (foo)]. ok millert@Kjell Wooding
2002-03-18catchup on a few specials we haveMichael Shalayeff
2002-03-02Accept deroff's -m flags too.Todd C. Miller
2002-03-02No more writable strings in -b mode.Todd C. Miller
2002-03-01Sort -df, not sort -fTodd C. Miller
2002-03-01spell command from 4.4BSD, now freed by Caldera.Todd C. Miller
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.