Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在我的源代码树上运行 hunspell。然而,当我运行这个:
find . -name *.html | xargs hunspell -H
Hunspell 编辑器出现在屏幕上,但它不接受任何键入的输入 - 当我键入 Ctrl+C 退出 hunspell 编辑器时,所有输入都出现在下一个命令提示符处。有没有办法可以将文件通过管道传输到 hunspell?
谢谢,凯文
这是基于nosid here的回答。
xargs -a <(find . -name *.html) hunspell -H
有关解释,请参阅 nosid 的答案(: