[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug Report: Diff 2.7 has incorrect output for files with LFCR as line te
From: |
Alex Bochannek |
Subject: |
Bug Report: Diff 2.7 has incorrect output for files with LFCR as line terminator. |
Date: |
Fri, 07 Dec 2001 08:47:53 -0800 |
Hi!
It appears that "diff - GNU diffutils version 2.7" (Solaris 8)
produces incorrect output for context and unified diffs when applied
to files, which use LFCR as a line termination sequence. The diffs are
in fact accurate, but the first column (with '+', '-', '!', etc.) is
missing:
Here is the example output from the file with LFCR:
--- file1
+++ file2
@@ -1,6 +1,6 @@
#
# Summit48i Configuration generated Wed Oct 17 05:35:05 2001
# Summit48i Configuration generated Thu Oct 18 05:35:05 2001
# Software Version 6.1.7 (Build 18) By Release_Master on Sun 07/01/2001
7:47p
configure dot1q ethertype 8100
And here with the CR's removed:
--- file1
+++ file2
@@ -1,6 +1,6 @@
#
-# Summit48i Configuration generated Wed Oct 17 05:35:05 2001
+# Summit48i Configuration generated Thu Oct 18 05:35:05 2001
# Software Version 6.1.7 (Build 18) By Release_Master on Sun 07/01/2001
7:47p
configure dot1q ethertype 8100
The files in question are configuration files generated by Extreme
network switches and the only files I have come across to use the
unusual LFCR line termination.
Please let me know, if you need any further information.
Thanks.
Alex.
- Bug Report: Diff 2.7 has incorrect output for files with LFCR as line terminator.,
Alex Bochannek <=