Merge branch '2091_viewer_search'
[midnight-commander.git] / misc / edit.spell.rc
blobe9dee8bbe50d9456068950f23e72fefcbc6c8e13
1 #! /bin/sh
2 # *** External Spell Checker for GNU Midnight Commander.
3 # arguments:
4 # $1 - Name of the file being edited
5 # $2 - Name of the file to be processed
7 if aspell </dev/null >/dev/null 2>&1; then
8 aspell -c "$2"
9 else
10 ispell "$2"