Skip to content

Preserve input line ending style in output #299

@wegank

Description

@wegank

Currently, msolve writes output files using the native line ending convention of the platform, regardless of the line endings used in the input. I suggest instead preserving the input line ending style of the input: if the input uses LF, the output should use LF; if the input uses CRLF, the output should use CRLF.

This issue is closely related to #182: a user working with CRLF files might expect the output to use CRLF so they can process the files in the same way. Otherwise, they will unfortunately have to run unix2dos on the output provided by msolve.

If you have any opinions (especially @vneiger who added CRLF support in #183), please write it below.

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