Add /usr/gnu/bin, /usr/gnu/man* (coming from ports installation)
[unix-history] / usr.bin / printenv / printenv.1
index 8763468..005f58d 100644 (file)
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\"    @(#)printenv.1  6.7 (Berkeley) 7/28/91
+.\"    from: @(#)printenv.1    6.7 (Berkeley) 7/28/91
+.\"    $Id: printenv.1,v 1.3 1993/08/01 07:29:54 mycroft Exp $
 .\"
 .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 +56,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.