From owner-svn-src-all@FreeBSD.ORG Mon Jul 25 21:58:39 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B8F4106564A; Mon, 25 Jul 2011 21:58:39 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7B0278FC16; Mon, 25 Jul 2011 21:58:39 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p6PLwdSi078878; Mon, 25 Jul 2011 21:58:39 GMT (envelope-from jilles@svn.freebsd.org) Received: (from jilles@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p6PLwdAl078876; Mon, 25 Jul 2011 21:58:39 GMT (envelope-from jilles@svn.freebsd.org) Message-Id: <201107252158.p6PLwdAl078876@svn.freebsd.org> From: Jilles Tjoelker Date: Mon, 25 Jul 2011 21:58:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r224409 - stable/8/share/skel X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2011 21:58:39 -0000 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