Removed (after the env(1)/printenv(1) split) extraneous arguments
to the .Nm macro.
This commit is contained in:
parent
05992bb56b
commit
52964a40af
18
usr.bin/env/env.1
vendored
18
usr.bin/env/env.1
vendored
@ -69,17 +69,17 @@ Execute the
|
||||
with only those environment values specified.
|
||||
The environment inherited
|
||||
by
|
||||
.Nm env
|
||||
.Nm
|
||||
is ignored completely.
|
||||
.El
|
||||
.Pp
|
||||
If no utility is specified,
|
||||
.Nm env
|
||||
.Nm
|
||||
prints out the names and values
|
||||
of the variables in the environment, with one name/value pair per line.
|
||||
.Pp
|
||||
The
|
||||
.Nm env
|
||||
.Nm
|
||||
utility is sometimes useful with the
|
||||
.Dq Li #!
|
||||
construct (see
|
||||
@ -92,14 +92,14 @@ is that the latter works even if
|
||||
.Pa /usr/local/bin/foo
|
||||
is itself interpreted.
|
||||
Using
|
||||
.Nm env
|
||||
.Nm
|
||||
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
|
||||
.Nm
|
||||
utility uses the
|
||||
.Ev PATH
|
||||
environment variable is used to locate the requested
|
||||
@ -108,7 +108,7 @@ if the name contains no
|
||||
.Ql /
|
||||
characters.
|
||||
.Sh DIAGNOSTICS
|
||||
.Ex -std env
|
||||
.Ex -std
|
||||
An exit status of 126 indicates
|
||||
.Ar utility
|
||||
was found, but could not be executed.
|
||||
@ -117,7 +117,7 @@ An exit status of 127 indicates
|
||||
could not be found.
|
||||
.Sh COMPATIBILITY
|
||||
The
|
||||
.Nm env
|
||||
.Nm
|
||||
utility accepts the
|
||||
.Fl
|
||||
option as a synonym for
|
||||
@ -129,7 +129,7 @@ option as a synonym for
|
||||
.Xr environ 7
|
||||
.Sh STANDARDS
|
||||
The
|
||||
.Nm env
|
||||
.Nm
|
||||
utility conforms to
|
||||
.St -p1003.1-2001 .
|
||||
.\".Sh HISTORY
|
||||
@ -139,6 +139,6 @@ utility conforms to
|
||||
.\".Bx 3.0 .
|
||||
.Sh BUGS
|
||||
The
|
||||
.Nm env
|
||||
.Nm
|
||||
utility doesn't handle utility arguments with equal (``='') signs in their
|
||||
names, for obvious reasons.
|
||||
|
Loading…
Reference in New Issue
Block a user