Language and markup polishing.
This commit is contained in:
parent
79e447559c
commit
607e48e7b5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129436
25
usr.bin/env/env.1
vendored
25
usr.bin/env/env.1
vendored
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user