remcr/addcr should not auto-add trailing LF/CRLF
One hundred command line tools in a small and portable binary.
Brought to you by:
stahlworks
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.
ok it will be fixed.