Date: Mon, 25 Jul 2011 21:58:39 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r224409 - stable/8/share/skel Message-ID: <201107252158.p6PLwdAl078876@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107252158.p6PLwdAl078876>