edit.spell.rc 247 B

1234567891011
  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
  6. if aspell </dev/null >/dev/null 2>&1; then
  7. aspell -c "$2"
  8. else
  9. ispell "$2"
  10. fi