cc -c -O spell2.c

cc -o spell -O spell.c spell2.o
cc -o spellin -O spellin.c spell2.o

echo mv spell /usr/lib
echo chown root /usr/lib/spell
echo chmod u+s /usr/lib/spell

rm -f *.o

: Make word lists.
: Words are stored with a '#' at end for optional trailing S.
: 'common' is list of common words to which is added either 'british'
: or 'american' for 'clistb' or 'clista', respectively.
: 'local' is for modifications.  All sublists are sorted, so only
: merging needs to be done.

exit
: cd /usr/dict
: sort -mu local common american | /usr/src/cmd/spell/spellin >clista
: sort -mu local common british | /usr/src/cmd/spell/spellin >clistb
