0

I got the following results from diff:

@@ -4479,7 +4479,7 @@
         || AddPrintCheckParameters(TRUE)
         || AddRecipeDefaults(TRUE)
         || AddRepeatScanPass(TRUE)
-        || AddVirgoFlag(TRUE)        
+        || AddVirgoFlag(TRUE)
         || AddAttrPatchSize(TRUE)
         || AddDualSensParameters(TRUE)
         || AddMDATDensitySP(TRUE)

Seems that it suggesting me to delete and add the same line. Why?

1
  • Blank characters maybe? Try with -E -Z -b -w
    – Nic3500
    May 14 at 0:29

1 Answer 1

1

By selecting both lines with the mouse to they are highlighted, I can clearly see that the first (deleted) line has trailing spaces that the second does not.

If you use diff -w this difference would be ignored by diff.

1
  • Exactly. Thanks!
    – Ziqi Fan
    May 14 at 3:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.