2BSD/man/printenv.u

.TH PRINTENV UCB 2/24/79 UCB
.SH NAME
printenv \- print out the environment
.SH SYNOPSIS
.B printenv
[ name ]
.SH DESCRIPTION
.I Printenv
prints out the values of the variables in the environment.
If a
.I name
is specified, only its
value is printed.
.PP
If a
.I name
is specified and it is not defined in the environment,
.I printenv
returns exit status 1, else it returns status 0.
.SH SEE ALSO
sh(1), environ(5), csh(UCB)
.SH BUGS