4.3BSD-Reno/share/man/cat1/env.0

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

PRINTENV(1)		    UNIX Reference Manual		   PRINTENV(1)

NNAAMMEE
     pprriinntteennvv, eennvv - print out the environment, set and print environment

SSYYNNOOPPSSIISS
     pprriinntteennvv [_n_a_m_e]
     eennvv [--] [_n_a_m_e=_v_a_l_u_e ...] [_c_o_m_m_a_n_d]

DDEESSCCRRIIPPTTIIOONN
     PPrriinntteennvv prints out the names and values of the variables in the environ-
     ment, with one name/value pair per line.  If _n_a_m_e is specified, only its
     value is printed.

     If a _n_a_m_e is specified and it is not defined in the environment, pprriinntteennvv
     returns exit status 1, else it returns status 0.

     EEnnvv executes _c_o_m_m_a_n_d after modifying the environment as specified on the
     command line.  The option _n_a_m_e=_v_a_l_u_e specifies an environmental variable,
     _n_a_m_e, with a value of _v_a_l_u_e.  The option `--' causes eennvv to completely ig-
     nore the environment it inherits.

     If no command is specified, eennvv prints out the names and values of the
     variables in the environment, with one name/value pair per line.

SSEEEE AALLSSOO
     csh(1), sh(1), execvp(3), environ(7)

HHIISSTTOORRYY
     PPrriinntteennvv appeared in 3 BSD.

BBUUGGSS
     EEnnvv doesn't handle commands with equal (``='') signs in their names, for
     obvious reasons.