On Sat, Jul 09, 2005 at 03:43:02PM +0000, Eric Blake wrote:
> POSIX allows implementations to define the behavior of 'basename //' and
> 'dirname //'. Currently, both operations in coreutils output a single /, but
> this definition is worthless on platforms (like cygwin) where // is distinct
> from /. The intent, according to POSIX, is that 'cd $(dirname "string")
> && stat $(basename "string")' access the same file as 'stat "string"'
> would do.
Might this also be a problem for mkdir? And perhaps cp?
David