Re: double slashes in comp paths

David Wheeler <[email protected]>
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
On Nov 8, 2004, at 6:07 AM, Jonathan Swartz wrote:

> Should double slashes be valid in component paths? Right now 
> mason_canonpath does not remove them, so that component paths 
> foo/bar/baz and foo/bar//baz are considered different. Are there 
> filesystems for which a doubleslash in the middle of the path is 
> significant?

I believe that most Unixen will consider a double slash to be the same 
as a single slash.

   geertz% cd /usr/local//bin
   geertz% pwd
   /usr/local/bin

Regards,

David



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.