#! /bin/csh -f
#
# This script is called by the SEDIT "SPELL" command, thus allowing to tailor
# it
#
# The SiliconGraphic SEDIT version uses a temporary file, so we may need
# to use $1 after the spell command
#

#
#  Test for local dictionary, first in the current directory and then
#  in the home directory
#
if (-e sedit.dictionary ) then
  spell +sedit.dictionary $1
else
  if (-e ~/sedit.dictionary) then
     spell +~/sedit.dictionary $1
  else
     spell $1
  endif
endif


