[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/42557: cd(1) doesn't support standard -P option
The following reply was made to PR bin/42557; it has been noted by GNATS.
From: David Holland <dholland-bugs%netbsd.org@localhost>
Subject: Re: bin/42557: cd(1) doesn't support standard -P option
Date: Fri, 1 Jan 2010 17:54:43 +0000
On Fri, Jan 01, 2010 at 12:10:00PM +0000, ekamperi%gmail.com@localhost wrote:
> cd(1) doesn't seem to support -P option which is mandated by POSIX.
> I accidentally noticed it like this:
> [same problem as PR 42168]
What is cd -P supposed to do? The bash and zsh docs don't really make
sense and as far as I can tell from running them experimentally -P
must stand for "work properly". The ksh docs are a little clearer, but
anyway this behavior is the default in sh.
Should we have sh's cd builtin accept and ignore -P?
David A. Holland
Main Index |
Thread Index |