mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
36b103997c
* lib/Makefile.am: Add lib/edit.spell.rc.
15 lines
273 B
Bash
15 lines
273 B
Bash
#!/bin/sh
|
|
# *** External Spell Checker for Cooledit.
|
|
# arguments:
|
|
# $1 - edit file name
|
|
# $2 - highlight block file name
|
|
# $3 - error file name
|
|
|
|
# The editor doesn't save stty. Save it manually.
|
|
stty_save=`stty -g`
|
|
reset
|
|
clear
|
|
ispell $2 2>$3
|
|
clear
|
|
stty $stty_save
|