HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

aspell — Interactive spell checker. More information: <http://aspell.net/man-html/index.html>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
aspellcommandcheckercliinformationinteractivespellmore

Problem

How to use the aspell command: Interactive spell checker. More information: <http://aspell.net/man-html/index.html>.

Solution

aspell — Interactive spell checker. More information: <http://aspell.net/man-html/index.html>.

Spell check a single file:
aspell check {{path/to/file}}


List misspelled words from stdin:
cat {{path/to/file}} | aspell list


Show available dictionary languages:
aspell dicts


Run aspell with a different language (takes two-letter ISO 639 language code):
aspell --lang {{cs}}


List misspelled words from stdin and ignore words from personal word list:
cat {{path/to/file}} | aspell --personal {{personal-word-list.pws}} list

Code Snippets

Spell check a single file

aspell check {{path/to/file}}

List misspelled words from `stdin`

cat {{path/to/file}} | aspell list

Show available dictionary languages

aspell dicts

Run `aspell` with a different language (takes two-letter ISO 639 language code)

aspell --lang {{cs}}

List misspelled words from `stdin` and ignore words from personal word list

cat {{path/to/file}} | aspell --personal {{personal-word-list.pws}} list

Context

tldr-pages: common/aspell

Revisions (0)

No revisions yet.