|
|
1.1 root 1: .TH PRINTENV 1
2: .CT 1 shell
3: .SH NAME
4: printenv \- print environment
5: .SH SYNOPSIS
6: .B printenv
7: [
8: .I name
9: ]
10: .SH DESCRIPTION
11: With no arguments,
12: .I printenv
13: places the strings of the environment, described in
14: .IR environ (5),
15: on the standard output one per line.
16: .PP
17: If a
18: .I name
19: is specified, its value is retrieved from the environment
20: and printed.
21: .SH SEE ALSO
22: .IR sh (1),
23: .IR rc (1),
24: .IR environ (5),
25: .IR getenv (3)
26: .SH DIAGNOSTICS
27: Exit status 1 is returned when a specified
28: .I name
29: is not present in the environment.
30: .SH BUGS
31: The
32: .I name
33: feature cannot handle functions.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.