Re: Any advantages of Unix formatting
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