Skip to content

ov -F not auto add LF if the last line of file do not has LF #510

@charlie-wong

Description

@charlie-wong
  • ov version v0.33.3 rev:a5e120e
  • Reproduce
    User@Server $ echo -n ok > ok.log
    User@Server $ hexyl ok.log
    ┌────────┬─────────────────────────┬─────────────────────────┬────────┬────────┐
    │00000000│ 6f 6b                   ┊                         │ok      ┊        │
    └────────┴─────────────────────────┴─────────────────────────┴────────┴────────┘
    User@Server $ less -F ok.log # auto append LF
    ok
    User@Server $ ov -F ok.log # do not append LF, after enter, result is
    okUser@Server $ # <--- this is not that good!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions