Previously Tres Seaver wrote:
> Zope2 uses them at the beginning of a path to indicate traversal from
> the root.  -1 to dropping that case (it is the one which makes
> '/foo/bar' behave orthagonally).  Havinng blank elements work as no-ops
> also makes them behave predictably:  this is what command shells (sane
> ones, anyway) do with them.  E.g.:
> 
>   $ ls /path/to//foo
> 
> yiels the same results as:
> 
>   $ ls /path/to/foo

That actually does not need to be true and POSIX does not dictate that.
There have been some discussions to use // as a marker for a different
kind of traversal for some filesystems.

Wichert.

-- 
Wichert Akkerman <[EMAIL PROTECTED]>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to