[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
diff question
From: |
Chapman, David W |
Subject: |
diff question |
Date: |
Tue, 15 Jul 2008 14:57:56 -0400 |
I performed a diff on two files using diff (GNU diffutils) 2.8.7.
Both HP-UX and Solaris produced identical results with the same two files.
I am running SUSE Linux 10 SP1 (GNU/Linux 2.6.16.46-0.12-smp).
The diff command on SUSE Linux produced a slightly different result (one
"hunk"):
152,153c155,158
< 1.000000E-01 1.000000E-07 1.000000E-03 1 10
20 100
< 5.000000E-01 1.000000E-07 1.000000E-03 1 10
50 100
---
> 1.000000E-01 2.000000E-07 2.000000E-03 1 20
> 30 100
> 5.000000E-01 1.000001E-07 1.000001E-03 1 10
> 50 100
> 0 Minor edit requests
> 0 Minor edit requests
Both HP-UX and Solaris showed this as two "hunks":
152,153c155,156
< 1.000000E-01 1.000000E-07 1.000000E-03 1 10
20 100
< 5.000000E-01 1.000000E-07 1.000000E-03 1 10
50 100
---
> 1.000000E-01 2.000000E-07 2.000000E-03 1 20
> 30 100
> 5.000000E-01 1.000001E-07 1.000001E-03 1 10
> 50 100
154a158,159
> 0 Minor edit requests
> 0 Minor edit requests
Is there a default option in the HP-UX / Solaris world that is different in the
GNU/Linux world?
If you want, I can send you the two files and the diff results from HP-UX,
Solaris, and Linux.
David W. Chapman
(860) 731-6429
- diff question,
Chapman, David W <=