check for CRLF and not /$/ as line ending