Astaroth, 1 year ago (edited 1 year ago) Does windows add an extra character at the end that gets converted to new line on linux? Because the other day I were copying a script and after pasting it an extra line was added after every single line, even the empty lines. how it looked when I copied it: <span style="color:#323232;">bla </span><span style="color:#323232;">bla </span><span style="color:#323232;"> </span><span style="color:#323232;">bla </span> what it turned into: <span style="color:#323232;">bla </span><span style="color:#323232;"> </span><span style="color:#323232;">bla </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;">bla </span><span style="color:#323232;"> </span>
Does windows add an extra character at the end that gets converted to new line on linux? Because the other day I were copying a script and after pasting it an extra line was added after every single line, even the empty lines.
how it looked when I copied it:
<span style="color:#323232;">bla </span><span style="color:#323232;">bla </span><span style="color:#323232;"> </span><span style="color:#323232;">bla </span>
what it turned into:
<span style="color:#323232;">bla </span><span style="color:#323232;"> </span><span style="color:#323232;">bla </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;">bla </span><span style="color:#323232;"> </span>