aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/printenv
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2002-06-28 09:31:03 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2002-06-28 09:31:03 +0000
commit8b4f995accce84e16777644c66c6e16068d86221 (patch)
treea70bc51c193fbf20afe93958d31119cce0ffb87c /usr.bin/printenv
parent6ec9d03768dd9a123e4e7e7492db9aee73fce1c6 (diff)
downloadsrc-8b4f995accce84e16777644c66c6e16068d86221.tar.gz
src-8b4f995accce84e16777644c66c6e16068d86221.zip
Document the fairly obvious effects of the PATH environment variable.
Notes
Notes: svn path=/head/; revision=98969
Diffstat (limited to 'usr.bin/printenv')
-rw-r--r--usr.bin/printenv/printenv.110
1 files changed, 10 insertions, 0 deletions
diff --git a/usr.bin/printenv/printenv.1 b/usr.bin/printenv/printenv.1
index 120918afd0ad..b999f46fab44 100644
--- a/usr.bin/printenv/printenv.1
+++ b/usr.bin/printenv/printenv.1
@@ -114,6 +114,16 @@ this way also allows one to reference
.Pa foo
without the path,
as well as set up the environment as desired.
+.Sh ENVIRONMENT
+The
+.Nm env
+utility uses the
+.Ev PATH
+environment variable is used to locate the requested
+.Ar utility
+if the name contains no
+.Ql /
+characters.
.Sh DIAGNOSTICS
.Ex -std printenv
.Pp