esrlabs / chipmunk

log analysis tool
Apache License 2.0
553 stars 39 forks source link

A text file with CR as line delimiters is recognized as a single line #2015

Open marcmo opened 4 months ago

marcmo commented 4 months ago

we currently accept either CRLF or LF. But a carriage return (CR) alone can be considered a valid line delimiter in certain contexts.

carriage return (CR) was used as the line delimiter in older Macintosh systems before the adoption of Unix-like line feeds (LF). we should also support it, either with an option or directly if no line feeds are found.