summaryrefslogtreecommitdiff
path: root/static/unix-v10/man1/printenv.1
diff options
context:
space:
mode:
Diffstat (limited to 'static/unix-v10/man1/printenv.1')
-rw-r--r--static/unix-v10/man1/printenv.133
1 files changed, 33 insertions, 0 deletions
diff --git a/static/unix-v10/man1/printenv.1 b/static/unix-v10/man1/printenv.1
new file mode 100644
index 00000000..1deddc08
--- /dev/null
+++ b/static/unix-v10/man1/printenv.1
@@ -0,0 +1,33 @@
+.TH PRINTENV 1
+.CT 1 shell
+.SH NAME
+printenv \- print environment
+.SH SYNOPSIS
+.B printenv
+[
+.I name
+]
+.SH DESCRIPTION
+With no arguments,
+.I printenv
+places the strings of the environment, described in
+.IR environ (5),
+on the standard output one per line.
+.PP
+If a
+.I name
+is specified, its value is retrieved from the environment
+and printed.
+.SH SEE ALSO
+.IR sh (1),
+.IR rc (1),
+.IR environ (5),
+.IR getenv (3)
+.SH DIAGNOSTICS
+Exit status 1 is returned when a specified
+.I name
+is not present in the environment.
+.SH BUGS
+The
+.I name
+feature cannot handle functions.