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