On Thu, May 29, 2014 at 01:26:19PM +0200, Georg Baum wrote: > > I found the problem and fixed it at c75c6e44. For some reason the file which > I saved from the attachment did not have a trailing newline (maybe an off- > by-one error somewhere when the file length is determined;-), but lyx2lyx > assumed that all lines end with a newline. This assumption is not needed, > and I removed it.
However, note that, after your patch, if a line ends with '\r', it is not stripped anymore. I think this may happen on Mac. -- Enrico