-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Greetings, I have come over something which I think of as a bug, but you might disagree. Consider $ cd $ mkdir dir1 dir2 $ cd dir1 $ ln -s ../dir2 link $ cd link $ pwd gives $HOME/dir1/link but $ ls .. lists $HOME instead of dir1. Or, if you (being in link/) $ cp file .. the file gets copied into $HOME, not dir1/, i.e., the absolute path is always used, ignoring any links. I believe the path $PWD should always be used instead of the absolute one. Thus, in the example, 'file' should be copied from dir2/ (or link/) into dir1/. Thanks! Till - -- http://etill.net/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmMHbkACgkQxsc38LbNE95/BQCgqUKdtz/FLwMrqSVCVXEjZwSb tIMAn1B5GFBSbQdYt4Gkf/BZ/ov38+1z =T5Ui -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
