5

Using tkdiff on unix platform, I've tried modifying whitespace option in the preferences window to be -w or -b, neither of which seem to ignore carriage return differences (unix/pc.)

-w works with diff from the command line.

Any thoughts would be greatly appreciated.

Donal Fellows
  • 133,037
  • 18
  • 149
  • 215
Stew
  • 51
  • 1
  • 2

2 Answers2

4

Had the same problem, google search landed me here, and answer didn't help me. tkdiff uses diff internally for diffing, so spent few minutes trying all options including --strip-trailing-cr which doesn't help.

Here is options that works - use -B along with -w to make tkdiff ignore all white spaces including blank lines.

tkdiff -w -B

Charles Clayton
  • 17,005
  • 11
  • 87
  • 120
0

If you have GNU diff, you can use the --strip-trailing-cr option. I don't know how to tell tkdiff to use that option.

glenn jackman
  • 238,783
  • 38
  • 220
  • 352