• 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: Any advantages of Unix formatting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any advantages of Unix formatting


  • Subject: Re: Any advantages of Unix formatting
  • From: Finlay Dobbie <email@hidden>
  • Date: Tue, 4 Sep 2001 21:57:02 +0100

[localhost:~/tmp] finlayd% touch AAA
[localhost:~/tmp] finlayd% touch aaa
[localhost:~/tmp] finlayd% ls -l
total 0
-rw-r--r-- 1 finlayd staff 0 Sep 4 21:55 AAA
[localhost:~/tmp] finlayd% ls -l AAA aaa
-rw-r--r-- 1 finlayd staff 0 Sep 4 21:55 AAA
-rw-r--r-- 1 finlayd staff 0 Sep 4 21:55 aaa

They're not two files. ls picks the one file up twice if you specify the name in two cases.

-- Finlay

On Tuesday, September 4, 2001, at 09:37 pm, Jonathan Stimmel wrote:

Actually, I was surprised that I *could* create two *files* with
case-insensitive conflicting names, however not without weird side
effects ("rm" demonstrated here):
$ touch aaa
$ touch AAA
$ ls -l aaa AAA
-rw-r--r-- 1 jon staff 0 Sep 4 13:35 AAA
-rw-r--r-- 1 jon staff 0 Sep 4 13:35 aaa
$ rm AAA
$ ls -l aaa AAA
ls: AAA: No such file or directory
ls: aaa: No such file or directory
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


  • Follow-Ups:
    • Re: Any advantages of Unix formatting
      • From: Jonathan Stimmel <email@hidden>
References: 
 >Re: Any advantages of Unix formatting (From: Jonathan Stimmel <email@hidden>)

  • Prev by Date: Re: Writing a custom spell service
  • Next by Date: Re: Any advantages of Unix formatting
  • Previous by thread: Re: Any advantages of Unix formatting
  • Next by thread: Re: Any advantages of Unix formatting
  • Index(es):
    • Date
    • Thread