[Python-ideas] os.path.join() failure

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Oct 3 01:18:11 CEST 2007


Aahz wrote:
> cp -a foo bar
> 
> and
> 
> cp -a foo/ bar
> 
> The two are almost identical *except* when foo is a symlink to a
> directory,

Hm. I would call this a misfeature of the version of
cp you're using.

In Unix, a trailing slash is *never* supposed
to be significant.

--
Greg



More information about the Python-ideas mailing list