[英]cywgin x86_64: where is diff?
I did a recent cygwin 64 installation.我最近安装了 cygwin 64。
I cannot find the regular diff tool in either /usr/bin (as answered here ), and when I try to reinstall Cygwin and search on diff, all I get are things like:我在 /usr/bin 中都找不到常规的 diff 工具(如这里所回答),当我尝试重新安装 Cygwin 并搜索 diff 时,我得到的只是以下内容:
diffstat
diffutils
bsdiff
colordiff
etc
No plain diff(1) utility.没有简单的diff(1)实用程序。
Now it turns out I have a CM tool called Serena Dimensions installed, and so when I do a:现在事实证明我安装了一个名为 Serena Dimensions 的 CM 工具,所以当我执行以下操作时:
which diff
I get:我得到:
/cygdrive/c/Program Files (x86)/Serena/Dimensions 10.1/CM/prog/diff
I figured I just need to reference the "unix diff" via it's complete path, easy solution ;-) But where is it!?我想我只需要通过它的完整路径引用“unix diff”,简单的解决方案;-) 但是它在哪里!?
Thanks.谢谢。 (please see last comment, thanks)
(请看最后一条评论,谢谢)
The diff
command is provided by the diffutils
package. diff
命令由diffutils
包提供。 Install it via setup-x86_64.exe
.通过
setup-x86_64.exe
安装它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.