• 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: "John C. Randolph" <email@hidden>
  • Date: Tue, 4 Sep 2001 15:32:07 -0700

How's this for magic morphing names?

jcr@localhost:/tmp>mkdir foo
jcr@localhost:/tmp>cd Foo
jcr@localhost:/tmp/Foo>touch bar
jcr@localhost:/tmp/Foo>ls -i Bar
133727 0 -rw-r--r-- 1 jcr wheel 0 Sep 4 15:30 Bar
jcr@localhost:/tmp/Foo>ls -i BAR
133727 0 -rw-r--r-- 1 jcr wheel 0 Sep 4 15:30 BAR
jcr@localhost:/tmp/Foo>ls -i baR
133727 0 -rw-r--r-- 1 jcr wheel 0 Sep 4 15:30 baR
jcr@localhost:/tmp/Foo>ls
total 0
0 drwxr-xr-x 3 jcr wheel 58 Sep 4 15:30 .
0 drwxrwxrwt 12 root wheel 364 Sep 4 15:30 ..
0 -rw-r--r-- 1 jcr wheel 0 Sep 4 15:30 bar
jcr@localhost:/tmp/Foo>rm BAR
jcr@localhost:/tmp/Foo>ls
total 0
0 drwxr-xr-x 3 jcr wheel 58 Sep 4 15:30 .
0 drwxrwxrwt 12 root wheel 364 Sep 4 15:30 ..
jcr@localhost:/tmp/Foo>

Interesting that the output of ls doesn't show the actual name in the filesystem, but rather the name I typed on the command line.

-jcr


"The problem with trying to child-proof the world, is that it makes people neglect the far more important task of world-proofing the child." -- Hugh Daniel


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

  • Prev by Date: Re: Any advantages of Unix formatting
  • Next by Date: Displaying a window in full screen mode (&&)||(||) Custom Window Shapes
  • Previous by thread: Re: Any advantages of Unix formatting
  • Next by thread: Re: Any advantages of Unix formatting
  • Index(es):
    • Date
    • Thread