Joe Heimann wrote:
>
> OS X does case insensitive matching on a HFS+ filesystem, it is case
> preserving only. The only way around this is to use an UFS filesystem,
> but that will break a number of Mac OS functions. You would be better
> off to rethink your design so as not to depend on case sensitive matches
> when using your "Find" for OS X.
That's what I was afraid of. Well, I guess I've got one really serious,
first-level entry in my list of gotchas for OSX. This fact in itself
will suffice to exclude OSX from serious consideration in a couple of
projects that I'm working on.
I wonder how many more surprises like this are lurking in my scripts,
waiting to go berserk N months from now when they get triggered for
the first time? I can't offhand think of any way to do a search for
this problem.
I can probably write a perl script that produces warnings when there
are two things in the search path that differ only by capitalization.
But finding the uses of such things could take a very long time.
Sigh. And OSX did seem to have some nice things ...<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: U/L case screwup