From owner-svn-doc-all@FreeBSD.ORG Wed Apr 1 06:25:58 2015 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BCB2CD52; Wed, 1 Apr 2015 06:25:58 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A79837EB; Wed, 1 Apr 2015 06:25:58 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t316PwMQ081832; Wed, 1 Apr 2015 06:25:58 GMT (envelope-from eadler@FreeBSD.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t316PwEd081831; Wed, 1 Apr 2015 06:25:58 GMT (envelope-from eadler@FreeBSD.org) Message-Id: <201504010625.t316PwEd081831@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: eadler set sender to eadler@FreeBSD.org using -f From: Eitan Adler Date: Wed, 1 Apr 2015 06:25:58 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r46406 - head/en_US.ISO8859-1/books/developers-handbook/tools X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2015 06:25:58 -0000 Author: eadler Date: Wed Apr 1 06:25:57 2015 New Revision: 46406 URL: https://svnweb.freebsd.org/changeset/doc/46406 Log: Don't encourage people to add '.' to path. This can lead to subtle issues in many common configurations. Modified: head/en_US.ISO8859-1/books/developers-handbook/tools/chapter.xml Modified: head/en_US.ISO8859-1/books/developers-handbook/tools/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/developers-handbook/tools/chapter.xml Wed Apr 1 06:08:53 2015 (r46405) +++ head/en_US.ISO8859-1/books/developers-handbook/tools/chapter.xml Wed Apr 1 06:25:57 2015 (r46406) @@ -783,21 +783,10 @@ int main() { Unlike &ms-dos;, &unix; does not look in the current directory when it is trying to find out which executable you want it to run, unless you tell - it to. Either type ./foobar, which + it to. Type ./foobar, which means run the file called foobar in the current - directory, or change your PATH - environment - variable so that it looks something like - - - bin:/usr/bin:/usr/local/bin:. - - - - The dot at the end means look in the current - directory if it is not in any of the - others. + directory.