mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 21:06:52 +03:00
f04c521675
* lib/edit.spell.rc: Likewise. * lib/mcserv.init: Likewise.
13 lines
250 B
Bash
13 lines
250 B
Bash
#! /bin/sh
|
|
# *** External Spell Checker for Cooledit.
|
|
# arguments:
|
|
# $1 - edit file name
|
|
# $2 - highlight block file name
|
|
# $3 - error file name
|
|
|
|
if aspell </dev/null >/dev/null 2>&1; then
|
|
aspell -c "$2" 2>"$3"
|
|
else
|
|
ispell "$2" 2>"$3"
|
|
fi
|