HomeFreeBSD

sh: Correct criterion for using CDPATH in cd.

Description

sh: Correct criterion for using CDPATH in cd.

CDPATH should be ignored not only for pathnames starting with '/' but also
for pathnames whose first component is '.' or '..'.

The man page already describes this behaviour.

Details

Provenance
jillesAuthored on May 27 2011, 8:01 PM
Parents
rG7e2548ae0ab2: Remove definitions for RACCT_FSIZE and RACCT_SBSIZE - these two are rather
Branches
Unknown
Tags
Unknown

Event Timeline