Subject: bug#6194: closed (Re: bug#6194: bug: pwd)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 14 May 2010 21:03:02 +0000

Your bug report

#6194: pwd tracks logical paths through symlinks

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
6194: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6194
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#6194: bug: pwd
From: Bob Proulx <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Fri, 14 May 2010 15:02:15 -0600
List-Id: <debbugs-submit.debbugs.gnu.org>

eran shaham wrote:
> the remark that was on
> $ help pwd
> pwd: pwd [-LP]
> ...
> It would save other people bothering you on that subject :-)

Well, that documentation comes from 'bash' and we have no control over
it here.  But 'help' is a bash command and so all of the documentation
from it is about bash.  I don't think it needs more.

The coreutils man page says:

       NOTE:  your shell may have its own version of pwd, which usually super‐
       sedes the version described here.  Please refer to your  shell’s  docu‐
       mentation for details about the options it supports.

And the info documentation says:

     Because most shells have a built-in `pwd' command, using an
  unadorned `pwd' in a script or interactively may get you different
  functionality than that described here.

So...  I think we are covered there! :-)

Closing the bug ticket.

Bob

Subject: bug: pwd
From: eran shaham <[email-masked]>
To: bug-coreutils <[email-masked]>
Date: Fri, 14 May 2010 22:13:00 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

from:
info pwd

one get:
`pwd' prints the fully resolved name of the current directory.  That
is, all components of the printed name will be actual directory
names--*none will be symbolic links*.

When you try the following:
mkdir dirA dirB
cd dirA
ln -s ../dirB/ lnkB
cd lnkB
pwd

you get:
dirA/lnkB

where lnkB is obviously a symbolic link and not an actual directory name.

Best Regards,
Eran Shaham