retiolus@lemmy.cat to Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.comEnglish · 1 year agoNaming Torrentsfiles.catbox.moeexternal-linkmessage-square98fedilinkarrow-up1487arrow-down123
arrow-up1464arrow-down1external-linkNaming Torrentsfiles.catbox.moeretiolus@lemmy.cat to Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.comEnglish · 1 year agomessage-square98fedilink
minus-squaremurtaza64@programming.devlinkfedilinkEnglisharrow-up7·1 year agoIf this is about line endings, surely a simple shell or python script could correct them?
minus-squarem_randall@sh.itjust.workslinkfedilinkEnglisharrow-up6·1 year agoThere’s already a command for it: https://linux.die.net/man/1/dos2unix
minus-squareAstaroth@lemm.eelinkfedilinkEnglisharrow-up3·edit-21 year 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: