This commit was manufactured by cvs2svn to create tag 'FreeBSD-release/1.0'.
[unix-history] / usr.bin / printenv / printenv.1
index 8763468..c865369 100644 (file)
 .\"
 .Dd July 28, 1991
 .Dt PRINTENV 1
 .\"
 .Dd July 28, 1991
 .Dt PRINTENV 1
-.Os BSD 3
+.Os
 .Sh NAME
 .Sh NAME
-.Nm printenv , env
-.Nd print out the environment, set and print environment
+.Nm printenv
+.Nd print out the environment
 .Sh SYNOPSIS
 .Nm printenv
 .Op Ar name
 .Sh SYNOPSIS
 .Nm printenv
 .Op Ar name
-.Nm env
-.Op Fl
-.Op Ar name=value ...
-.Op Ar command
 .Sh DESCRIPTION
 .Nm Printenv
 prints out the names and values of the variables in the environment,
 .Sh DESCRIPTION
 .Nm Printenv
 prints out the names and values of the variables in the environment,
@@ -59,40 +55,12 @@ If a
 is specified and it is not defined in the environment,
 .Nm printenv
 returns exit status 1, else it returns status 0.
 is specified and it is not defined in the environment,
 .Nm printenv
 returns exit status 1, else it returns status 0.
-.Pp
-.Nm Env
-executes
-.Ar command
-after modifying the environment as
-specified on the command line.  The option
-.Ar name=value
-specifies
-an environmental variable,
-.Ar name  ,
-with a value of
-.Ar value  .
-The option
-.Sq Fl
-causes
-.Nm env
-to completely ignore the environment
-it inherits.
-.Pp
-If no command is specified,
-.Nm env
-prints out the names and values
-of the variables in the environment, with one name/value pair per line.
 .Sh SEE ALSO
 .Xr csh 1 ,
 .Xr sh 1 ,
 .Sh SEE ALSO
 .Xr csh 1 ,
 .Xr sh 1 ,
-.Xr execvp 3 ,
 .Xr environ 7
 .Sh HISTORY
 The
 .Nm printenv
 command appeared in
 .Bx 3.0 .
 .Xr environ 7
 .Sh HISTORY
 The
 .Nm printenv
 command appeared in
 .Bx 3.0 .
-.Sh BUGS
-.Nm Env
-doesn't handle commands with equal (``='') signs in their
-names, for obvious reasons.