ispell-wrapper

provides a unified interface to various spell checkers

TLDR

Check file with default checker
$ ispell-wrapper [file.txt]
Force specific checker
$ ispell-wrapper --ispell=[aspell] [file.txt]
List misspellings
$ ispell-wrapper -l < [file.txt]
Use specific dictionary
$ ispell-wrapper -d [english] [file.txt]

SYNOPSIS

ispell-wrapper [options] file...

DESCRIPTION

ispell-wrapper provides a unified interface to various spell checkers. It wraps aspell, hunspell, or ispell with consistent options.The wrapper chooses the best available checker automatically. It allows scripts to work regardless of which checker is installed.

PARAMETERS

--ispell CHECKER

Specify spell checker (aspell, hunspell, ispell).
-d DICT
Dictionary to use.
-a
Pipe mode.
-l
List mode.
--help
Display help information.

INSTALL

sudo apt install ispell
sudo pacman -S ispell
sudo apk add aspell-compat
sudo zypper install ispell
brew install ispell
nix profile install nixpkgs#ispell

CAVEATS

Debian/Ubuntu specific. Depends on installed checkers. Not all options pass through.

HISTORY

ispell-wrapper was created for Debian to provide compatibility between different spell checking programs.

SEE ALSO

ispell(1), aspell(1), hunspell(1)