Search code examples
linuxcygwin

cywgin x86_64: where is diff?


I did a recent cygwin 64 installation.

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:

diffstat
diffutils
bsdiff
colordiff
  etc

No plain diff(1) utility.

Now it turns out I have a CM tool called Serena Dimensions installed, and so when I do a:

 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!?

Thanks. (please see last comment, thanks)


Solution

  • The diff command is provided by the diffutils package. Install it via setup-x86_64.exe.