On 2020-06-15, lacygoill wrote:
>     This is not a bug. The simplify() function should leave two leading
>     slashes alone.
> 
> Although, if the specification says that more than 2 leading slashes should be
> treated as a single slash, then maybe this could be considered as a bug:
> 
> echo simplify('///tmp')
> ///tmp

I later thought about that, too.  I think you're probably right.
I'm not aware of any cases where more that two slashes has any
meaning, and POSIX says they should be treated as one, so it would
make sense for simplify() to collapse more than two to just one.

Regards,
Gary

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20200615185415.GB29345%40phoenix.

Raspunde prin e-mail lui