NetBSD-Bugs archive

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

bin/42557: cd(1) doesn't support standard -P option



>Number:         42557
>Category:       bin
>Synopsis:       cd(1) doesn't support standard -P option
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 01 12:10:00 +0000 2010
>Originator:     Stathis Kamperis
>Release:        5.0.1
>Organization:
>Environment:
NetBSD 5.0.1 with GENERIC kernel / i386
>Description:
cd(1) doesn't seem to support -P option which is mandated by POSIX.
I accidentally noticed it like this:

$ pwd
/home/beket/pcca-tests/stdio.h
$ git pull
cd: Illegal option -P
Cannot chdir to ../, the toplevel of the working tree
$

opensolaris and dragonflybsd that I checked, support it.
>How-To-Repeat:
Type cd -P in a shell.
>Fix:



Home | Main Index | Thread Index | Old Index