summaryrefslogtreecommitdiff
path: root/usr.bin/env
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2004-05-19 10:44:24 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2004-05-19 10:44:24 +0000
commit607e48e7b59a6ba87e86a118fa4d808888b918df (patch)
treeed874d1ac8420201ff03a587ac94860839be9c71 /usr.bin/env
parent79e447559ceab6cdfbbf0bf4fff2e61135f52690 (diff)
downloadsrc-test2-607e48e7b59a6ba87e86a118fa4d808888b918df.tar.gz
src-test2-607e48e7b59a6ba87e86a118fa4d808888b918df.zip
Language and markup polishing.
Notes
Notes: svn path=/head/; revision=129436
Diffstat (limited to 'usr.bin/env')
-rw-r--r--usr.bin/env/env.125
1 files changed, 14 insertions, 11 deletions
diff --git a/usr.bin/env/env.1 b/usr.bin/env/env.1
index cc5864e091ab..7e25eceef699 100644
--- a/usr.bin/env/env.1
+++ b/usr.bin/env/env.1
@@ -49,7 +49,7 @@
.Sh DESCRIPTION
The
.Nm
-utility executes
+utility executes another
.Ar utility
after modifying the environment as
specified on the command line.
@@ -57,23 +57,25 @@ The option
.Ar name Ns = Ns Ar value
specifies
an environment variable,
-.Ar name ,
+.Ar name ,
with a value of
-.Ar value .
+.Ar value .
.Pp
The options are as follows:
.Bl -tag -width indent
.It Fl i
Execute the
.Ar utility
-with only those environment values specified.
+with only those environment variables specified.
The environment inherited
by
.Nm
is ignored completely.
.El
.Pp
-If no utility is specified,
+If no
+.Ar utility
+is specified,
.Nm
prints out the names and values
of the variables in the environment, with one name/value pair per line.
@@ -81,13 +83,13 @@ of the variables in the environment, with one name/value pair per line.
The
.Nm
utility is sometimes useful with the
-.Dq Li #!
+.Ql #!
construct (see
.Xr execve 2 ) .
The only difference between
.Dq Li #!/usr/local/bin/foo
and
-.Dq Li "#!/usr/bin/env\ /usr/local/bin/foo"
+.Dq Li "#!/usr/bin/env /usr/local/bin/foo"
is that the latter works even if
.Pa /usr/local/bin/foo
is itself interpreted.
@@ -109,10 +111,10 @@ if the name contains no
characters.
.Sh DIAGNOSTICS
.Ex -std
-An exit status of 126 indicates
+An exit status of 126 indicates that
.Ar utility
was found, but could not be executed.
-An exit status of 127 indicates
+An exit status of 127 indicates that
.Ar utility
could not be found.
.Sh COMPATIBILITY
@@ -140,5 +142,6 @@ utility conforms to
.Sh BUGS
The
.Nm
-utility doesn't handle utility arguments with equal (``='') signs in their
-names, for obvious reasons.
+utility does not handle utility arguments with equal signs
+.Pq Ql =
+in their names, for obvious reasons.