Skip to content

Does not trim dos newlines correctly. #121

@danielnelson

Description

@danielnelson

If the tailed file has dos line endings, they are not trimmed properly.

Given the following input file:

line number 1
line number 2

If the file has dos line endings the "%q\n" formatted lines are:

"line number 1\r"
"line number 2\r"

I am expecting the same lines as if it had unix line endings:

"line number 1"
"line number 2"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions