linux操作系统 hunspell命令手册

hunspell

Check spelling. More information: https://hunspell.github.io/.

  • Check the spelling of a file:

hunspell {{path/to/file}}

  • Check the spelling of a file with the en_US dictionary:

hunspell -d {{en_US}} {{path/to/file}}

  • List misspelled words in a file:

hunspell -l {{path/to/file}}