bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug: diff-output not correct with -B (ignore empty lines) option ?


From: sspamm2001-gguu
Subject: Bug: diff-output not correct with -B (ignore empty lines) option ?
Date: Mon, 26 Mar 2007 00:44:57 +0200 (CEST)

I was using:
   
  diff -B -u3 -r src1 src2 > diff1.diff
   
  But later "patch" was complaining, and the reason was this line:
   
  @@ -627,6 +872,61 @@
...
+ [47 lines]
...
   
  i counted 47 lines with "+" (no with "-") and corrected it to:
   
  @@ -627,6 +872,53 @@
   
  ...and it was ok (6+47=53).
   
  Maybe the reason was the diff-option:
-B  --ignore-blank-lines  Ignore changes whose lines are all blank
  
my version: diff (GNU diffutils) 2.8.7 (from cygwin)
   
  Can you check this (maybe it is fixed already?)

                
---------------------------------
Der neue Internet Explorer 7 in deutscher Ausführung ist da!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]