4.3BSD-UWisc/man/man1/printenv.1

Compare this file to the similar file:
Show the results in this format:

.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved.  The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\"	@(#)printenv.1	6.1 (Berkeley) 4/29/85
.\"
.TH PRINTENV 1 "April 29, 1985"
.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(7), csh(1)