From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19818 invoked by alias); 20 Dec 2010 10:26:49 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 15656 Received: (qmail 24482 invoked from network); 20 Dec 2010 10:26:47 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at vinc17.org does not designate permitted sender hosts) Date: Mon, 20 Dec 2010 11:26:45 +0100 From: Vincent Lefevre To: zsh-users@zsh.org Subject: Re: Absolute path of a path Message-ID: <20101220102645.GA15278@prunille.vinc17.org> Mail-Followup-To: zsh-users@zsh.org References: <20101027164454.GA19471@prunille.vinc17.org> <20101028104451.GB19471@prunille.vinc17.org> <20101028105250.GB7283@prunille.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20101028105250.GB7283@prunille.vinc17.org> X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6164-vl-r38670 (2010-10-13) 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 - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)