spell命令对文件进行拼写检查,并把拼写错误的单词输出。
spell(参数)
文件:指定需要进行拼写检查的文件。
1. 对文件进行拼写检查
$ spell document.txt recieve occured seperate
2. 检查多个文件
$ spell file1.txt file2.txt
3. 使用英式英语字典
$ spell -b document.txt
4. 排除个人字典中的单词
$ spell -d ~/.mydict document.txt