Linuxmemed@lemmy.world to linuxmemes@lemmy.world · 3 years agoBattle of the slasheslemmy.worldimagemessage-square18linkfedilinkarrow-up1338arrow-down15
arrow-up1333arrow-down1imageBattle of the slasheslemmy.worldLinuxmemed@lemmy.world to linuxmemes@lemmy.world · 3 years agomessage-square18linkfedilink
minus-squareCupDock@lemmy.worldlinkfedilinkarrow-up8·3 years agoYou can even mix and match! C:\tmp/file.txt is valid. Very helpful for cross-os compatibility.
minus-squarePunkid @lemmy.worldlinkfedilinkarrow-up3·3 years agoDoes only windows do this or do Linux and mac work with both slashes too ? I thought linux was pretty strict with this
minus-squareMalix@lemmy.worldlinkfedilinkarrow-up9·3 years agoonly windows, afaik. On linux \ is the escape symbol
minus-squareinverimus@lemm.eelinkfedilinkarrow-up2·3 years agoWindows is the odd one out, everywhere else uses forward slash.
minus-squarewoelkchen@lemmy.worldlinkfedilinkarrow-up4·3 years agoOn classic MacOS the path separater was a “:”.
You can even mix and match!
C:\tmp/file.txtis valid. Very helpful for cross-os compatibility.Does only windows do this or do Linux and mac work with both slashes too ?
I thought linux was pretty strict with this
only windows, afaik. On linux \ is the escape symbol
Windows is the odd one out, everywhere else uses forward slash.
On classic MacOS the path separater was a “:”.