1 1.2 msaitoh $NetBSD: TODO,v 1.2 2019/12/27 10:20:01 msaitoh Exp $ 2 1.1 perry 3 1.1 perry Things to do with spell(1) 4 1.1 perry 5 1.1 perry a) This code needs to be made WARNSable. Right now it isn't. 6 1.1 perry b) Make sure that we are very compatible with the SVID and Solaris 7 1.1 perry versions of the command (since those are the best models we have, 8 1.1 perry there being no SuS spec.) 9 1.1 perry c) Perhaps the last BSD version of /usr/dict/words that was 32V 10 1.1 perry derived should be merged in to the modern /usr/dict/words file. It 11 1.1 perry has a bunch of useful additions over the original 32V file etc. 12 1.1 perry d) The code should be commented and cleaned. The code style is very 13 1.1 perry 1970s. 14 1.1 perry e) The way this works is bad. All the rules of how to deal with 15 1.1 perry spelling, suffixes, etc, are hard-coded in. That made sense in v7, 16 1.1 perry but it doesn't any more. 17 1.1 perry f) The word search algorithm might be made better. millert turned it 18 1.2 msaitoh into a binary search from the original hash mechanism. 19 1.1 perry g) Also, the general mode that this program works in is VERY 1970s -- 20 1.1 perry it just spits out a list of words that are misspelled without 21 1.1 perry context. By merging spell and spellprog, and doing a wee bit of 22 1.1 perry hacking, it should be possible to do things like complaining about 23 1.1 perry the line number that things are misspelled on etc. 24