[Midnightbsd-cvs] src: dot.shrc: skel/.shrc: Improve commented CDPATH example for POSIX

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Nov 23 07:43:59 EST 2011


Log Message:
-----------
skel/.shrc: Improve commented CDPATH example for POSIX requirements.

POSIX says an empty entry in CDPATH shall not result in the new directory
being printed, while any non-empty entry shall result in the new directory
being printed, including ".". Therefore, the value of CDPATH should almost
always start with a colon, not dot and colon.

Our sh does not print the name for empty entries as well as "." entries.

Modified Files:
--------------
    src/share/skel:
        dot.shrc (r1.2 -> r1.3)
        (http://cvsweb.midnightbsd.org/src/share/skel/dot.shrc?r1=1.2&r2=1.3)


More information about the Midnightbsd-cvs mailing list