2002-02-21 14:18:46 +00:00
|
|
|
#! /bin/sh
|
2001-07-31 22:13:55 +00:00
|
|
|
# *** External Spell Checker for Cooledit.
|
|
|
|
# arguments:
|
|
|
|
# $1 - edit file name
|
|
|
|
# $2 - highlight block file name
|
|
|
|
# $3 - error file name
|
|
|
|
|
2001-09-20 01:13:29 +00:00
|
|
|
if aspell </dev/null >/dev/null 2>&1; then
|
|
|
|
aspell -c "$2" 2>"$3"
|
|
|
|
else
|
|
|
|
ispell "$2" 2>"$3"
|
|
|
|
fi
|