[Pkg-zsh-devel] Bug#607615: zsh: Behavior of ":A" and ":a" isn't clear and seems wrong
Vincent Lefevre
vincent at vinc17.net
Mon Dec 9 10:03:03 UTC 2013
Control: found -1 5.0.2-6
Here's another test:
$ pwd
/home/vlefevre
$ ln -s dir1/dir2 foo
$ echo OK > file
$ cat foo/../../file
OK
$ realpath foo/../../file
/home/vlefevre/file
$ echo ${$(echo foo/../../file):a}
/home/file
$ echo ${$(echo foo/../../file):A}
/home/file
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the Pkg-zsh-devel
mailing list