> Not all text files have a newline at the end of the last line.
By definition, they do (unless they're zero-length). I thought I was
pretty clear that I was using "text" as a technical term, not just in
the sense of "something you can look at with cat without making your
xterm go all wonky." Lots of Unix utilities won't work especially
well on files which don't match this technical definition of "text."
Try running a file with no trailing newline through the Solaris or
IRIX "sed" or "nl" and you'll see abnormalities, just to pick two
operating systems and commands out of a hat. "patch" on FreeBSD is
merely the tip of the iceberg.
One of the attractions of the GNU versions of Unix tools is that they
generally work on arbitrary binary files to the greatest extent
possible. Which is great, but we can't rely on this feature in
Subversion unless we're actually bringing in that code (which we can't
do unless it becomes LGPL'd, another side of this discussion).
I don't think there's any disagreement about what we should do; I just
want to make sure people are perceiving the situation properly.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:32 2006