reuse-tool
reuse-tool copied to clipboard
annotate changes line endings from LF to CRLF for some files
Hi,
Working with this file: https://github.com/scheme-requests-for-implementation/srfi-160/blob/master/srfi-160.html
I was surprised that running a command such as reuse annotate -c 'Author' -l MIT -y 2018 srfi-160.html would have the line endings changed from LF to CRLF.
Before running the command:
$ file srfi-160.html
srfi-160.html: HTML document, ASCII text, with very long lines (606), with CRLF, LF line terminators
After:
$ file srfi-160.html
srfi-160.html: HTML document, ASCII text, with very long lines (606), with CRLF line terminators
Apparently this happens because thes two lines had CRLF line endings. Reuse should ideally preserve the line endings instead of rewriting them to an arbitrarily chosen CRLF.
@@ -452,8 +458,8 @@ elements of <i>@vec</i>.</p>
<p>Returns a list of @vectors, each of which contains <i>n</i>
consecutive elements of <i>@vec</i>.
-The last @vector may be shorter than <i>n</i>. It is an error if
-<i>n</i> is not an exact positive integer.</p>
+The last @vector may be shorter than <i>n</i>. It is an error if
+<i>n</i> is not an exact positive integer.</p>
<p><code>(@vector-fold <i>kons knil @vec @vec2 ...</i>) -> object</code> [SRFI 133]</p>