LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ispell

interactive spell checker

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 from stdin
$ echo "[BOTH/R]" | ispell -e
copy

SYNOPSIS

ispell [options] file...

DESCRIPTION

ispell is an interactive spell checker. It highlights misspellings and offers corrections for text files. In interactive mode, each misspelled word is displayed with context, and the user can choose a suggested correction, type a replacement, or add the word to a personal dictionary.The tool supports multiple languages and input formats including plain text, TeX/LaTeX, nroff/troff, and HTML. It can run interactively or in pipe mode (-a) for scripting and integration with other programs.

PARAMETERS

-a

Pipe mode for programs.
-l
List misspelled words only.
-d DICT
Use specific dictionary.
-t
TeX/LaTeX mode.
-n
nroff/troff mode.
-H
HTML mode.
-b
Create a backup file (.bak) of the input file.
-x
Don't create a backup file.
-B
Report run-together words as spelling errors.
-C
Consider run-together words as legal compounds.
-M
Display a one-line mini-menu of options at the bottom of the screen.
-N
Suppress the mini-menu.
-c
Suggest corrections for words read from stdin.
-e[1-5]
Expand affix flags from stdin. Optional level controls output detail.
-S
Sort the list of guesses by probable correctness.
-W N
Specify length of words to consider always legal (default 3).
-p FILE
Personal dictionary file.
-L LINES
Number of context lines to display.

INSTALL

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

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)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid