当前位置:首页 » 文件和目录管理 » spell

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