Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Absolute path of a path



On 2010-10-28 12:52:50 +0200, Vincent Lefevre wrote:
> On 2010-10-28 12:44:51 +0200, Vincent Lefevre wrote:
> > FYI:
> > 
> > ypig:~> realpath symlink/../vlefevre/symlink
> > /home/vlefevre
> > 
> > ypig:~> echo symlink/../vlefevre/symlink(:A)
> > /home/vlefevre/vlefevre/symlink
> > 
> > where symlink is a symbolic link to ".".
> 
> I think that this is even a bug in zsh, as
> 
> ypig:~> echo symlink/../vlefevre/symlink2(:A)
> zsh: no match
> 
> So, it seems that resolution as been done correctly (it is
> detected that symlink/../vlefevre/symlink exists but not
> symlink/../vlefevre/symlink2), however the output for the
> former one /home/vlefevre/vlefevre/symlink doesn't exist
> (there's no vlefevre file or directory in /home/vlefevre).

I've reported the following bug on the Debian BTS about this:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607615

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)



Messages sorted by: Reverse Date, Date, Thread, Author