retiolus@lemmy.cat to Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.comEnglish · 11 months agoNaming Torrentsfiles.catbox.moeimagemessage-square100fedilinkarrow-up1592arrow-down126
arrow-up1566arrow-down1imageNaming Torrentsfiles.catbox.moeretiolus@lemmy.cat to Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.comEnglish · 11 months agomessage-square100fedilink
minus-squaremurtaza64@programming.devlinkfedilinkEnglisharrow-up5·11 months agoIf this is about line endings, surely a simple shell or python script could correct them?
minus-squarem_randall@sh.itjust.workslinkfedilinkEnglisharrow-up3·11 months agoThere’s already a command for it: https://linux.die.net/man/1/dos2unix
minus-squareAstaroth@lemm.eelinkfedilinkEnglisharrow-up1·edit-211 months agoDoes 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: bla bla bla what it turned into: bla bla bla
If this is about line endings, surely a simple shell or python script could correct them?
There’s already a command for it:
https://linux.die.net/man/1/dos2unix
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:
what it turned into: