[Zope-dev] Re: Zope 3 ZPTs in Zope 2: Nearly done
Wichert Akkerman
wichert at wiggy.net
Tue May 23 04:27:21 EDT 2006
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 <wichert at wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
More information about the Zope-Dev
mailing list