Re: [xml-dev] Achieving interoperability in a world where different OS's represent newline differently

From
Michael Kay <>
To
Liam R E Quin <>
Date
2014-12-14T08:49:31Z
ID
<>
Thread
Re: [xml-dev] Achieving interoperability in a world where different OS's represent newline differently
> 
> Traditionally a bunch of Unix utilities went wrong if you did not have a newline (LF, \n) at the end of the file, so the "vi" editor took to warning people if they opened a file like this. The utilities are all (mostly?) fixed and have been for years, but the warning persists.
> 

This presumably explains the peculiar rules that regular expressions have for semi-ignoring a newline appearing as the last character in an input string.

Michael Kay
Saxonica