BSD 4 development
[unix-history] / usr / man / man1 / printenv.1
.TH PRINTENV 1 2/24/79
.UC
.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(1)
.SH BUGS