:	${USER?YOU}
sendmail()
{
mail -s "ked recovery file" $USER <<END
To recover the file $1,
use the command ked -r $2
END
}
sendhome()
{
cat - >> $HOME/lostfile.log <<END
To recover the file $1,
use the command ked -r $2
END
}
case $OS in
	MKS)	sendhome $USER $1 $2;exit;;
	MSDOS)	sendhome $USER $1 $2;exit;;
	UNIX)	sendmail $USER $1 $2;
			sendhome $USER $1 $2;
			exit;;
	*)		sendmail $USER $1 $2;
			sendhome $USER $1 $2;
			exit;;
esac
