Skip to content

Bug: skips last line without new line #912

@DmitryRomanov

Description

@DmitryRomanov

Describe the bug

sample of a log file

{"message":"1"}
{"message":"2"} # !!! without \n

i am not getting two messages. only first

To Reproduce
Steps to reproduce the behavior:

  1. run file.d to process sample log file

Expected behavior
in stdout i get only one message

{"message":"1"}

but i expect two messages

{"message":"1"}
{"message":"2"}

after adding new i get two messages

Additional context
Version: v0.71.0
Platform: linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions