Debian8系統如何用spell檢查并輸出文件中出現的拼寫錯誤
發(fā)布時間:2023/4/21 10:01:38
Debian8系統如何用spell檢查并輸出文件中出現的拼寫錯誤
debian8系統如何用spell檢查并輸出文件中出現的拼寫錯誤?本教程以debian8系統為例
本配置適用于debian8,9版本
1.介紹
Linux spell命令可建立拼寫檢查程序。
spell可從標準輸入設備讀取字符串,結束后顯示拼錯的詞匯。
2.debian系統一般都是不內置spell需要另外下載
apt-get install spell -y
3.例子
3.1
上圖輸出test文本內有錯誤拼寫的單詞
3.2
檢查從標準輸入讀取的字符串。例如在命令行中輸入如下命令:
spell
輸入
hella,this a linuw sustem
按回車可以顯示可能出錯的單詞拼寫,想要退出按ctrl d即可。
本文來源:
http://666323.cn/aws/article/7205.html
[復制鏈接]
鏈接已復制