tldr/pages/linux/aspell.md

25 lines
555 B
Markdown
Raw Normal View History

2018-07-15 10:26:04 +01:00
# aspell
> Interactive spell checker.
> More information: <http://aspell.net/>.
2018-07-15 10:26:04 +01:00
- Spell check a single file:
`aspell check {{path/to/file}}`
2019-04-06 13:34:03 +01:00
- List misspelled words from standard input:
2018-07-15 10:26:04 +01:00
2022-12-04 09:12:49 +00:00
`cat {{path/to/file}} | aspell list`
2018-07-15 10:26:04 +01:00
- Show available dictionary languages:
`aspell dicts`
- Run `aspell` with a different language (takes two-letter ISO 639 language code):
2018-07-15 10:26:04 +01:00
`aspell --lang={{cs}}`
2019-04-06 13:34:03 +01:00
- List misspelled words from standard input and ignore words from personal word list:
2018-07-15 10:26:04 +01:00
2022-12-04 09:12:49 +00:00
`cat {{path/to/file}} | aspell --personal={{personal-word-list.pws}} list`