Cheers and thanks for the link to the faq. It just caught my attention :)
----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "Paul Robinson" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, January 19, 2003 1:07 PM
Subject: Re: [SLUG] Strange thing with /


> "Paul Robinson" <[EMAIL PROTECTED]> writes:
> 
> > is there any reason why // works?
> 
> http://www.faqs.org/faqs/unix-faq/shell/bash/
> 
> "
> E10) Why does `cd //' leave $PWD as `//'?
> 
> POSIX.2, in its description of `cd', says that *three* or more leading
> slashes may be replaced with a single slash when canonicalizing the
> current working directory.
> 
> This is, I presume, for historical compatibility.  Certain versions of
> Unix, and early network file systems, used paths of the form
> //hostname/path to access `path' on server `hostname'.
> "
> 
> E11 always bugged me. Lots of good stuff in the faq.
> 

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to