Skip to content

[Feature] - Support normalizing line endings for an unknown or mixed source #312

@smaillet

Description

@smaillet

Is your feature request related to a problem? Please describe.
NormalizeLineEndings(Destination) assumes the source is in system form. However, it is possible it was read from a file etc.. and has non-system or mixed endings. Thus, normalize needs to account for that as a possibility and we... normalize the endings to a consistent form.

Describe the solution you'd like
Normalizing line endings should be able to handle mixed or otherwise unknown forms as reading input from external sources can't always guarantee consistency.

Describe alternatives you've considered
Deal with mixed endings manually distinctly in all cases... (lather, rinse, repeat)

Additional context
Copy, paste, tweak is a bad design...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions