Date: Wed, 1 Apr 2015 06:25:58 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> 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 Message-ID: <201504010625.t316PwEd081831@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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() { <para>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 <command>./foobar</command>, which + it to. Type <command>./foobar</command>, which means <quote>run the file called <filename>foobar</filename> in the current - directory</quote>, or change your <envar>PATH</envar> - environment - variable so that it looks something like</para> - - <informalexample> - <screen>bin:/usr/bin:/usr/local/bin:. - </screen> - </informalexample> - - <para>The dot at the end means <quote>look in the current - directory if it is not in any of the - others</quote>.</para> + directory.</quote></para> </answer> </qandaentry>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504010625.t316PwEd081831>