使用 xargs 将参数通过管道传递给 hunspell
我正在尝试在我的源树上运行 hunspell。但是,当我运行此命令时:
find . -name *.html | xargs hunspell -H
Hunspell 编辑器出现在屏幕上,但它不接受任何键入的输入 - 当我键入 Ctrl+C 退出 hunspell 编辑器时,所有输入都会出现在下一个命令提示符处。有没有办法可以将文件传输到 hunspell?
谢谢, 凯文
I'm trying to run hunspell over my source tree. However when I run this:
find . -name *.html | xargs hunspell -H
The Hunspell editor comes up on the screen, but it won't accept any typed input - all of the input appears at the next command prompt when I type Ctrl+C to exit the hunspell editor. Is there a way I can pipe files to hunspell?
Thanks,
Kevin
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是基于 nosid 此处。
请参阅 nosid 的答案了解解释(:
This is based on an answer by nosid here.
see nosid's answer for an explanation (: