Removed (after the env(1)/printenv(1) split) extraneous arguments

to the .Nm macro.
This commit is contained in:
Ruslan Ermilov 2003-11-02 21:46:11 +00:00
parent 05992bb56b
commit 52964a40af
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121909

18
usr.bin/env/env.1 vendored
View File

@ -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.