Name

ispell

Synopsis

ispell [options] [files]

Compare the words of one or more named files with the system dictionary. Display unrecognized words at the top of the screen, accompanied by possible correct spellings, and allow editing via a series of single-character commands that are case-insensitive.

Options

-b

Back up original file in filename.bak.

-B

Count two correctly spelled words without a space between them as a spelling error.

-C

Count two correctly spelled words without a space between them as a legitimate compound word.

-d file

Search file instead of standard dictionary file.

-H

File is in HTML/XML format.

-L number

Show number lines of context.

-m

Suggest combinations of known roots and affixes, even if the result is not known. For example, “generous” and “ly” are known, so “generously” would be suggested as a word, even if it were not in the dictionary.

-M

List interactive commands at bottom of screen.

-n

Expect nroff or troff input file.

-N

Suppress printing of interactive commands.

-p file

Search file instead of personal dictionary file.

-P

Do not guess new words using known roots and affixes. The opposite of -m.

-S

Sort suggested replacements by likelihood that they are correct.

-t

Expect TEX or LATEX input file.

-T type

Expect all files to be formatted by type.

-V

Use hat notation (^L) to display control characters, and M- to display characters with the high bit set.

-w chars

Consider chars to be legal, in addition to a-z and A-Z.

-W n

Never consider words that are n characters or fewer to be misspelled. ...

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.