svn commit: r46406 - head/en_US.ISO8859-1/books/developers-handbook/tools
Eitan Adler
eadler at FreeBSD.org
Wed Apr 1 06:25:58 UTC 2015
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>
More information about the svn-doc-all
mailing list