repo.or.cz
/
midnight-commander.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch '2091_viewer_search'
[midnight-commander.git]
/
misc
/
edit.spell.rc
blob
e9dee8bbe50d9456068950f23e72fefcbc6c8e13
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
7
if
aspell
</
dev
/
null
>/
dev
/
null
2
>&
1
;
then
8
aspell
-c
"
$2
"
9
else
10
ispell
"
$2
"
11
fi