help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] Filename Nch-cs-hymn.t2tt and nch-cs-Hymn.t2tt treated a


From: Barrie Stott
Subject: Re: [Help-bash] Filename Nch-cs-hymn.t2tt and nch-cs-Hymn.t2tt treated as the same
Date: Fri, 14 Feb 2014 16:15:57 +0000

On 14 Feb 2014, at 14:18, Geir Hauge wrote:

> 2014-02-14 14:17 GMT+01:00 Barrie Stott <address@hidden>:
> 
>> Look at the following lines:
>> 
>> gbs:nch $ ls -l *.t2tt
>> -rw-r--r--  1 gbs  staff  3580 14 Feb 11:32 Nch-cs-hymn-author.t2tt
>> gbs:nch $ touch nch-cs-Hymn-author.t2tt
>> gbs:nch $ ls -l *.t2tt
>> -rw-r--r--  1 gbs  staff  3580 14 Feb 12:34 Nch-cs-hymn-author.t2tt
>> gbs:nch $
>> 
>> [...]
> 
>> I am running OS X 10.6.8 and the bash version is shown below.
>> 
> 
> The default filesystem on OS X is case insensitive, so those two filenames
> are considered equal.
> 
> -- 
> Geir Hauge

I'm most grateful for that, never having heard of case insensitive, case 
preserving file systems before. My problem started with a program in Ruby that 
didn't work as I expected. Gradually I simplified things till I reached the 
example I presented. The files I am using are essentially CSV files and I was 
using column names in the file name with uppercase to show the column on which 
things were sorted.

No reply needed.

Barrie.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]