#29 remcr/addcr should not auto-add trailing LF/CRLF

general
open
nobody
None
5
2014-07-13
2014-05-04
CapnNemo
No

Have only tried remcrlf so far. Works very quickly and easy to use.

However, it adds a trailing LF at the end of a file even if the file did not end in CRLF originally.
Generally text files should end with a final EOL, but that is not always true.
I think it should only add the trailing LF if requested to do so.

The same applies to addcr - it adds CRLF to the end.

By the way, remcr and addcr don't appear as commands in the main help.
It would be useful to show them with the crlf-to-lf and lf-to-crlf help.

Discussion

  • stahlworks
    stahlworks
    2014-05-07

    ok it will be fixed.