• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: avoid space in path names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: avoid space in path names


  • Subject: Re: avoid space in path names
  • From: Scott Fraser <email@hidden>
  • Date: Mon, 19 Dec 2005 13:55:52 -0800

On Dec 19, 2005, at 12:19 PM, Stefan Werner wrote:

For example, my "Library Search Paths" variable is set to
"$(TARGET_BUILD_DIR)/../../Other Libraries Dir"  (including the double
quotes).  Without the double quotes, the build fails.

In that case, Xcode should add them automatically when I drag a folder in the search paths. If it's such a simple thing that the application can handle itself, don't put the burden on the user. The user wants to get the job done, not learn how Unix encodes \" in a file name.

You're right. It would be nice if Xcode quoted paths that I drop in. But in this case, I didn't drag the folder in. I typed it in by hand. In this case, it's my responsibility to quote things properly, not Xcode's.


As in any Unix environment (not just Mac OSX), Unix is perfectly happy
with spaces in path names.  Problems arise when script writers fail to
account for such spaces.

Well, Unix can do anything, it just puts the burden on the user...There are too many quick and dirty ports of Unix programs on OS X that can't handle international names, aliases or removable media. Heck, even iTunes on OS X forgot that just because I removed the disc with an mp3 on it doesn't mean I deleted it. (iTunes on OS 9 would just ask for that disc by its name).

It seldom hurts, and it protects you from those gall
durn $%^$* users who insist on giving their folders "natural" names.

Call me old fashioned, but I still follow the antiquated theory that computers should adapt to humans and not the other way round ;)

I agree completely. (My comment about the "$%^$* users" was facisious.) But, we aren't just any humans. We (the people reading this list) are the programmers that tell the computers how to adapt to humans. If we (the programmers) can't be bothered to do the right thing, if all we do is the "quick and dirty port of Unix programs" (which would have broken even on Unix if spaces had been used in the Unix path names) then we deserve what we get. It's up to all of us to "do the right thing" to make it easier for the "users" of the world.


Scott
-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: avoid space in path names
      • From: Stefan Werner <email@hidden>
References: 
 >Re: avoid space in path names (From: Stefan Werner <email@hidden>)

  • Prev by Date: Re: info.plist Dependency problem
  • Next by Date: How to make a popup for a custom build setting?
  • Previous by thread: Re: avoid space in path names
  • Next by thread: Re: avoid space in path names
  • Index(es):
    • Date
    • Thread