svn commit: r224409 - stable/8/share/skel
Jilles Tjoelker
jilles at FreeBSD.org
Mon Jul 25 21:58:39 UTC 2011
Author: jilles
Date: Mon Jul 25 21:58:39 2011
New Revision: 224409
URL: http://svn.freebsd.org/changeset/base/224409
Log:
MFC r222932: 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:
stable/8/share/skel/dot.shrc
Directory Properties:
stable/8/share/skel/ (props changed)
Modified: stable/8/share/skel/dot.shrc
==============================================================================
--- stable/8/share/skel/dot.shrc Mon Jul 25 21:52:17 2011 (r224408)
+++ stable/8/share/skel/dot.shrc Mon Jul 25 21:58:39 2011 (r224409)
@@ -44,4 +44,4 @@ alias g='egrep -i'
# esac
# search path for cd(1)
-# CDPATH=.:$HOME
+# CDPATH=:$HOME
More information about the svn-src-stable-8
mailing list