From 8f16431241201a7af1728e05eb27cf46ff57aacc Mon Sep 17 00:00:00 2001 From: lmh Date: Wed, 13 Feb 2019 15:15:34 +0800 Subject: [PATCH] aspell: add Chinese translation. --- pages.zh/linux/aspell.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 pages.zh/linux/aspell.md diff --git a/pages.zh/linux/aspell.md b/pages.zh/linux/aspell.md new file mode 100755 index 0000000000..f984f4cce6 --- /dev/null +++ b/pages.zh/linux/aspell.md @@ -0,0 +1,23 @@ +# aspell + +> 交互式拼写检查工具. + +- 为一个文件做拼写检查: + +`aspell check {{文件路径}}` + +- 列出来自标准输入的拼写错误单词: + +`cat {{文件}} | aspell list` + +- 列出可用的字典语言: + +`aspell dicts` + +- 指定不同的语言(取ISO 639语言代码的2个字母)来运行aspell: + +`aspell --lang={{cs}}` + +- 列出来自标准输入的拼写错误单词,并且忽略个人单词列表中的单词: + +`cat {{文件}} | aspell --personal={{个人单词列表.pws}} {{列表}}`