Suppose I have two files that are identical, except one ends in a newline and the other does not. If I use `read-line` to read the successive lines of this file, because it swallows the line separators, there is no way to tell them apart. E.g., these two strings
"a
b"
and
"a
b
"
read using `read-line` and `open-input-string` produce the same result.
This is unfortunate for a program SPDEGabrielle has induced me to write (-:.
Any reasonable ways to work around this that rely, as much as possible, on the OS-specific handling `read-line` already provides?
Shriram