[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20679: A bug of pwd

From: Bob Proulx
Subject: bug#20679: A bug of pwd
Date: Sat, 30 May 2015 20:35:37 -0600
User-agent: Mutt/1.5.23 (2014-03-12)

Bernhard Voelker wrote:
> First of all, I want to mention that the invoked 'pwd' is a builtin
> in most shells, which means you have to e.g. specify the path like
> /bin/pwd to be sure to invoke the coreutils version of it.

A very, very small comment.  This is all true but the wording makes it
sound somewhat like a recommendation to use /bin/pwd in order to get
the coreutils program.  I don't think that was intended.  I think
instead it was intended only that normally the user has called the
builtin pwd and the builtin is not coreutils and therefore nothing we
would do about it here.  Reports about the builtin would go to the

One can compare the builtin by using both a plain "pwd" version and
comparing against the "/bin/pwd" coreutils version in order to test
differences between them.  If they work the same then it is very
unlikely it would be a bug since they are independent implementations.

For typical scripting it would be normal to continue to use the plain
"pwd" and use the shell builtin version.  But proper shell quoting is
still needed.  :-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]