LF or CRLF will always pose a special problem. When reading from text, LF (on UNIX) or CRLF (on Windows) will automatically terminate the current line and therefore input statement, and never appear in the data.
Did you have a
termstr=lf
option in the infile statement? If you read a DOS-formatted file with that, the CR will end up in the data.
... View more