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

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

Inconsistent line endings


From: Barry
Subject: Inconsistent line endings
Date: Wed, 25 Jan 2006 02:51:54 -0500

I was analysing the ASCII codes of my diff -y output and it looks like when
a line of the first file ended with a LF (ASCII 10), that's what the
corresponding line in the diff output ended in. That makes sense, but the
next line of my first file ended with a LF CR LF, for whatever reason, and
the corresponding line in the diff output had the line ending LF CR (ASCII
13 10). The gutter marker for both lines was <. I don't know whether the
different line endings render differently at the command line, but it
doesn't seem right for the line endings in the diff output to be not only
inconsistent, but not even as they are in the first file, and not a standard
line ending combination. I'll create short sample files to demonstrate this
if necessary.

Hopefully I'm right about this one.

Barry



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.21/236 - Release Date: 1/20/2006





reply via email to

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