LinuxCommandLibrary

ispell

TLDR

Check file interactively

$ ispell [file.txt]
copy
Check from stdin
$ echo "wrods" | ispell -a
copy
List misspellings
$ ispell -l < [file.txt]
copy
Use specific dictionary
$ ispell -d [american] [file.txt]
copy
Check TeX/LaTeX file
$ ispell -t [document.tex]
copy
Expand affix flags
$ ispell -e [word]
copy

SYNOPSIS

ispell [options] file...

DESCRIPTION

ispell is an interactive spell checker. It highlights misspellings and offers corrections for text files.
The tool supports multiple languages and formats. It can run interactively or in batch mode for scripting.
ispell checks spelling interactively.

PARAMETERS

-a

Pipe mode for programs.
-l
List misspelled words only.
-d DICT
Use specific dictionary.
-t
TeX/LaTeX mode.
-n
nroff/troff mode.
-p FILE
Personal dictionary file.
--help
Display help information.

CAVEATS

Largely replaced by aspell/hunspell. Dictionary availability varies. Format-specific modes needed.

HISTORY

ispell was created by Ralph E. Gorin at Stanford in 1971, later rewritten as International Ispell by Geoff Kuenning.

SEE ALSO

aspell(1), hunspell(1), spell(1)

Copied to clipboard