- cross-posted to:
- programmer_humor@programming.dev
- programmerhumor@lemmy.ml
- cross-posted to:
- programmer_humor@programming.dev
- programmerhumor@lemmy.ml
cross-posted from: https://lemmy.world/post/25005978
All too easy
Linux species file paths?
You guys have files?
bro everything is a file
Dad, am I a file?
.dna files
yes son
Funny thing is Windows accepts forward slashes as arguments in programs and API for long time. They just refuse to return forward slashes and don’t give users/developer options to do so, so we have to deal with it anyway
I think you mean users\developers
DIR 🤪
On Windows 11 it’s possible to use backslash for path in the terminal. But then it’s windows 11 and their million bugs
Now do a loss crossover.
I I ı
I I I _
::|:;
I’ve never met anyone who likes the windows shell environment, or uses it by choice. Only people who try very hard to convince themselves UNIX is somehow worse.
Ahhhh I get it
Yeah, I only got it after I bumped into it second time
Windows just wants to help you learn about escape characters
\
Old Mac OS before Mac OS X used
:
as path separatorMacintosh HD:Users:yourUserName:Desktop:My File.txt
. It’s still used for AppleScript. Converting from and to POSIX paths using/
happens pretty regularly when writing AppleScript nowadays.That’s also the reason why
:
is still an illegal character to use for file names on macOS.you lose a hand specifying linux file paths?
No! That’s impossible!
If you use the character 0x20 in a file name, yes
It’s the Overly-VerboseCommandSyntax in PowerShell that always grinds my gears.
CR LF
I hope the file encodings CEO and the line endings CEO trip over something and break their nose
Also whoever decided to do strings in WTF-16