Commit | Line | Data |
---|---|---|
8c95d292 BJ |
1 | .TH PRINTENV UCB 2/24/79 UCB |
2 | .SH NAME | |
3 | printenv \- print out the environment | |
4 | .SH SYNOPSIS | |
5 | .B printenv | |
6 | [ name ] | |
7 | .SH DESCRIPTION | |
8 | .I Printenv | |
9 | prints out the values of the variables in the environment. | |
10 | If a | |
11 | .I name | |
12 | is specified, only its | |
13 | value is printed. | |
14 | .PP | |
15 | If a | |
16 | .I name | |
17 | is specified and it is not defined in the environment, | |
18 | .I printenv | |
19 | returns exit status 1, else it returns status 0. | |
20 | .SH SEE ALSO | |
21 | sh(1), environ(5), csh(UCB) | |
22 | .SH BUGS |