#!/bin/sh
PATH=/usr/bin:/bin:/home/perlman/stat/bin
LIB=$HOME/lib
DICT=$LIB/dict
TMP=$DICT.$$
SORT="perm -l10000 -a"
SORT=sort
if test ! -d $LIB
then
	echo creating library directory: $LIB
	mkdir $LIB
fi
if test ! -r  $DICT
then
	echo creating personal spelling file: $DICT
	/bin/cp /dev/null $DICT
fi
for i
do
	echo $i
done | cat - $DICT | $SORT > $TMP
/bin/mv $TMP $DICT

