summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-06-28 09:31:03 +0000
committertjr <tjr@FreeBSD.org>2002-06-28 09:31:03 +0000
commite8db289f878b71c83affa7a670f55a14ff6cc732 (patch)
treea70bc51c193fbf20afe93958d31119cce0ffb87c
parentc4f791d939cb4464e63f4f42ae8a8d5990ff321a (diff)
downloadFreeBSD-src-e8db289f878b71c83affa7a670f55a14ff6cc732.zip
FreeBSD-src-e8db289f878b71c83affa7a670f55a14ff6cc732.tar.gz
Document the fairly obvious effects of the PATH environment variable.
-rw-r--r--usr.bin/nohup/nohup.18
-rw-r--r--usr.bin/printenv/printenv.110
-rw-r--r--usr.bin/time/time.18
3 files changed, 25 insertions, 1 deletions
diff --git a/usr.bin/nohup/nohup.1 b/usr.bin/nohup/nohup.1
index e4f3ff9..aab70df 100644
--- a/usr.bin/nohup/nohup.1
+++ b/usr.bin/nohup/nohup.1
@@ -70,7 +70,7 @@ Consult the
.Xr builtin 1
manual page.
.Sh ENVIRONMENT
-The following variable is utilized by
+The following variables are utilized by
.Nm :
.Bl -tag -width flag
.It Ev HOME
@@ -81,6 +81,12 @@ cannot be created in the current directory, the
utility uses the directory named by
.Ev HOME
to create the file.
+.It Ev PATH
+Used to locate the requested
+.Ar command
+if the name contains no
+.Ql /
+characters.
.El
.Sh DIAGNOSTICS
The
diff --git a/usr.bin/printenv/printenv.1 b/usr.bin/printenv/printenv.1
index 120918a..b999f46 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
diff --git a/usr.bin/time/time.1 b/usr.bin/time/time.1
index 68db337..45d5895 100644
--- a/usr.bin/time/time.1
+++ b/usr.bin/time/time.1
@@ -97,6 +97,14 @@ command which is similar or identical to this utility.
Consult the
.Xr builtin 1
manual page.
+.Sh ENVIRONMENT
+The
+.Ev PATH
+environment variable is used to locate the requested
+.Ar utility
+if the name contains no
+.Ql /
+characters.
.Sh DIAGNOSTICS
If
.Ar utility
OpenPOWER on IntegriCloud