Bug#338976: [Pbuilder-maint] Bug#338976: readlink -f/-e
Junichi Uekawa
dancer at netfort.gr.jp
Mon Dec 5 14:14:11 UTC 2005
clone 338976 -1
retitle -1 readlink -f/-e
reopen -1
thanks
Hi,
> So -e argument should be fine here. If $A doesn't exist we don't need to
> do the mv/cp/rm because of hardlinks.
I agree that semantically, it should be '-e'.
[23:10:57]dancer64:tmp> LC_ALL=C LANG=C ls -l a b c
ls: a: No such file or directory
lrwxrwxrwx 1 dancer dancer 1 Dec 5 23:10 b -> a
lrwxrwxrwx 1 dancer dancer 1 Dec 5 23:10 c -> b
[23:11:05]dancer64:tmp> readlink -f c ; echo $?
/tmp/a
0
[23:11:09]dancer64:tmp> readlink -e c ; echo $?
1
regards,
junichi
--
dancer@{debian.org,netfort.gr.jp} Debian Project
More information about the Pbuilder-maint
mailing list