On Sun, Jan 30, 2011 at 23:07, Jeremy Bopp <jeremy / bopp.net> wrote:
> On 01/30/2011 06:30 PM, mathew wrote:
>> On Sat, Jan 29, 2011 at 11:49, Jeremy Bopp <jeremy / bopp.net> wrote:
>>> Where possible, Ruby scripts should see *Ruby* as the platform, not
>>> Linux, not OSX, and not Windows.
>>
>> If that's true, are Ruby filenames case-sensitive or not? And are they
>> case-preserving or not?
>
> The handling of file names is dependent on the underlying filesystem.
> That means that file names are case-insensitive and case-preserving by
> default on FAT and NTFS (used by Windows) and on HFSX (used by default
> for OSX, I think).

So if "it depends on the OS and filesystem" is the right answer for
case sensitivity, why isn't it the right answer for how file globs
work?


mathew
-- 
<URL:http://www.pobox.com/~meta/>