tldr/pages/linux/aspell.md

25 lines
541 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}}`
- List misspelled words from `stdin`:
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}}`
- List misspelled words from `stdin` 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`