614
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 06 Sep 2024
614 points (90.4% liked)
linuxmemes
21281 readers
223 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.
founded 1 year ago
MODERATORS
I think you might even be able to get away with /s if you escape them properly in the filename.
Just tried. It processes the escape first and then finds the path with it. Essentially, making it look into a directory made by the characters before the
\/
.The above was when I tried:
But then I tried using Dolphin (GUI File Browser) to make a file and:
In the first one, the backslash is not the escape character, but part of the text.
Turns out Dolphin just replaces the forward slash with U+2044 "Fraction Slash" character, hence, not requiring any escape. I'd call that cheating, but it works well.
called it, i knew someone would use illegal characters eventually.
I would have a problem if a terminal app were to do something like this, but for GUI apps, it is expected for them to make stuff easier.
And I feel like, if you were to use a slash in a file name, it would most probably be either an "or" slash or a fraction slash, so the substitution is fine in my books.
Not sure about calling it that, considering it is a standard UTF-8 character. (0x2044 in UTF-16)
it's close enough, i generally consider an "illegal" character a non typable character. Especially these alt characters that are visually hard to distinguish from others such as the forward slash for example, i believe this was the same character used for a handful of somewhat clever phishing scams.
Seems like it's fair enough to me.
i'm not sure if you're allowed to escape the / character, i feel like it's blatantly illegal. But you could use the funny character set trolling thing instead, where you use a not forward slash instead. (not the \)
I'm fairly confident MacOS allows it, I've seen people do some Utterly Cursed shit in MacOS, but idk about Linux
maybe on macos, that might be funny, it's probably fucky over there for some other reason anyway.
Im pretty sure it's just explicitly illegal in linux though.