Commit | Line | Data |
---|---|---|
04fdc240 KM |
1 | Copyright (c) 1987 Regents of the University of California. |
2 | All rights reserved. The Berkeley software License Agreement | |
3 | specifies the terms and conditions for redistribution. | |
3995a398 | 4 | |
04fdc240 KM |
5 | @(#)README 1.2 (Berkeley) %G% |
6 | ||
7 | All files and subdirectories of this directory are recommended for | |
8 | rdisting except web2 and web2a (because of their size). Details on | |
9 | most of these files is described under FILES below. | |
10 | ||
11 | The new subdirectory "special" contains lists of words in specialized | |
12 | fields, which may be hashed in with the regular lists on machines | |
13 | having many users working in these fields. As of this writing, it | |
14 | contains two files. | |
15 | ||
16 | It is advised that system managers also create a directory | |
17 | /usr/local/dict. (Such a directory will probably be provided, empty, | |
18 | in the next release.) This can be used to maintain files of particular | |
19 | interest to users of the machine (e.g., surnames of members of the | |
20 | department on a departmental machine). | |
21 | ||
22 | Here is a script that might be used to customize the hashlists on a | |
23 | machine to include the words in /usr/dict/special/xxx, as well as two | |
24 | local lists called /usr/local/dict/surnames and | |
25 | /usr/local/dict/acronyms. | |
26 | ||
27 | # | |
28 | cd /usr/dict | |
29 | mv hlista hlista.0; mv hlistb hlistb.0 | |
30 | cat special/xxx /usr/local/dict/{surnames,acronyms} | spellin hlista.0 > hlista | |
31 | cat special/xxx /usr/local/dict/{surnames,acronyms} | spellin hlistb.0 > hlistb | |
32 | ||
33 | The new hashed lists, being named /usr/dict/hlist[ab], become the | |
34 | default lists for "spell"; the old lists can still be called with the -d | |
35 | option. | |
36 | ||
37 | Wordlists are in general sorted as in sort -df. This makes no | |
38 | difference for spell's hashing process, but will make a difference | |
39 | commands that search them directly (such as "look"). | |
40 | ||
41 | -------------------------------------------------------------------- | |
42 | FILES and subdirectories in /usr/dict: | |
43 | words -- everyday words, and important technical terms from all | |
44 | fields, that are spelled the same in British and American usage. | |
45 | american -- spellings accepted in American but not British usage. | |
46 | british -- spellings accepted in British but not American usage. | |
47 | stop -- forms that would otherwise be derivable by "spell" from | |
48 | words in one of the above files, but should not be accepted. | |
49 | hlista -- hashed list formed from files {words,american}. | |
50 | hlistb -- hashed list formed from files {words,british}. | |
51 | hstop -- hashed list formed from file stop. | |
52 | web2 -- words from Webster's 2nd International (see WEB below). | |
53 | web2a -- compounds and phrases from Webster's 2nd International. | |
54 | README -- this file | |
55 | papers/ -- an (out-of-date) bibliographical database, used as the | |
56 | default by the program "refer". | |
57 | special/ -- directory of less common terms from specialized fields | |
58 | special/4bsd -- commands and system calls (as in | |
59 | /usr/man/man[1238n]), and builtin csh commands (listed in | |
60 | /usr/man/man1/csh.1) of the current version of 4bsd Unix. | |
61 | (Supersedes old "/usr/src/usr.bin/spell/local".) | |
62 | math -- technical mathematical terms not in /usr/dict/words. | |
63 | ||
64 | WEB (intro provided in posting)-------------------------------------- | |
3995a398 KM |
65 | Welcome to Webster's Second International, all 234,936 words worth. |
66 | The 1934 copyright has elapsed, according to the supplier. The | |
67 | supplemental 'web2a' list contains hyphenated terms as well as assorted | |
68 | noun and adverbial phrases. The wordlist makes a dandy 'grep' victim. | |
69 | ||
70 | -- James A. Woods {ihnp4,hplabs}!ames!jaw (or jaw@riacs) |