501
submitted 4 months ago by [email protected] to c/[email protected]
top 32 comments
sorted by: hot top new old
[-] [email protected] 61 points 4 months ago* (last edited 4 months ago)

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

[-] [email protected] 62 points 4 months ago

I think you mean users\developers

[-] [email protected] 6 points 4 months ago
[-] [email protected] 3 points 4 months ago

screenshot of PowerShell

On Windows 11 it's possible to use backslash for path in the terminal. But then it's windows 11 and their million bugs

[-] [email protected] 28 points 4 months ago

Windows just wants to help you learn about escape characters

[-] [email protected] 4 points 4 months ago
[-] [email protected] 17 points 4 months ago
[-] [email protected] 16 points 4 months ago

I hope the file encodings CEO and the line endings CEO trip over something and break their nose

[-] [email protected] 14 points 4 months ago

Also whoever decided to do strings in WTF-16

[-] [email protected] 15 points 4 months ago
[-] [email protected] 3 points 4 months ago

Yeah, I only got it after I bumped into it second time

[-] [email protected] 13 points 4 months ago
[-] [email protected] 6 points 4 months ago* (last edited 4 months ago)
[-] [email protected] 4 points 4 months ago
[-] [email protected] 12 points 4 months ago

you lose a hand specifying linux file paths?

[-] [email protected] 8 points 4 months ago

If you use the character 0x20 in a file name, yes

[-] [email protected] 5 points 4 months ago

No! That’s impossible!

[-] [email protected] 8 points 4 months ago

Linux species file paths?

Edit: Mac does too, they just hide it.

[-] [email protected] 13 points 4 months ago
[-] [email protected] 12 points 4 months ago
[-] [email protected] 12 points 4 months ago
[-] [email protected] 4 points 4 months ago
[-] [email protected] 4 points 4 months ago
[-] [email protected] 1 points 4 months ago

I mean, DNA can be stored in a file. Hormones and steroids can be described discretely by chemical composition. And while we still don't understand how the frontal lobe works, we do understand how brains store, recognize, and recall information, which is the basis for generative AI today.

[-] [email protected] 1 points 4 months ago

Technically yes

[-] [email protected] 6 points 4 months ago
[-] [email protected] 3 points 4 months ago* (last edited 4 months ago)

It’s the Overly-VerboseCommandSyntax in PowerShell that always grinds my gears.

[-] [email protected] 3 points 4 months ago
[-] [email protected] 1 points 4 months ago
[-] [email protected] 2 points 4 months ago* (last edited 4 months ago)

Old Mac OS before Mac OS X used : as path separator Macintosh 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.

[-] [email protected] 2 points 4 months ago

All too easy

[-] [email protected] 2 points 4 months ago

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.

this post was submitted on 02 Feb 2025
501 points (99.8% liked)

linuxmemes

25669 readers
773 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • 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.
  • 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, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  •  

    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 remove France.

    founded 2 years ago
    MODERATORS