mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 21:06:52 +03:00
d40f336c24
* lib/edit.indent.rc: Likewise. * lib/edit.spell.rc: Likewise.
12 lines
247 B
Bash
12 lines
247 B
Bash
#! /bin/sh
|
|
# *** External Spell Checker for GNU Midnight Commander.
|
|
# arguments:
|
|
# $1 - Name of the file being edited
|
|
# $2 - Name of the file to be processed
|
|
|
|
if aspell </dev/null >/dev/null 2>&1; then
|
|
aspell -c "$2"
|
|
else
|
|
ispell "$2"
|
|
fi
|