>>>>> "Frank" == Frank Wiles <[EMAIL PROTECTED]> writes:

Frank>       Tilde is Unix means 'home directory'.

But not to any of the system calls.  Just some applications that have
agreed to do so, like the shells. So "unix" (the kernel) doesn't know
about it at all.

I believe the first utility to do so was FTP (in the early 80s),
because you didn't (in general) know the remote user's homedir (and it
might move), so you had to be able to say "CD ~remoteuser/subdir".
Ironic, since nearly any serious FTP installation today is now
chrooted, so you can't access homedirs anyway. :)

But then csh added it, and it all went downhill from there.

Perl is practically completely ~-as-home-dir ignorant, except for the
(now core) File::Glob, because it has to emulate a shell.  chdir "~merlyn"
is going to fail, unless you happen to have a subdirectory named
tilde-merlyn.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to