You are viewing a single thread.
View all comments View context
11 points

Spaces in file names will always be fiddly though. It’ll work, but it’ll still be wrong, because arguments are space separated, and having spaced file names totally messes with that.

permalink
report
parent
reply
5 points
*

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.

permalink
report
parent
reply
4 points

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

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 5.3K

    Monthly active users

  • 880

    Posts

  • 8.8K

    Comments

Community moderators