distribution/packages/tools/sysutils/MC/etc/edit.spell.rc
2022-02-05 09:23:32 -05:00

11 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