602
blahaj (lemmy.zip)
submitted 2 months ago by Maven@lemmy.zip to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Fennek@feddit.org 4 points 2 months ago* (last edited 2 months ago)

I try to just always put files names or paths into quotes in CLI or tie it to a variable in programming. This way it also accepts spaces and knows how to separate it from arguments.

[-] aulin@lemmy.world 4 points 2 months ago

Yeah. It's a good idea to guard against it, but I would still never put spaces in filesnames that I myself choose.

this post was submitted on 16 Jul 2024
602 points (97.5% liked)

Programmer Humor

32024 readers
581 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS