summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-08-18 08:55:14 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-08-18 08:55:14 +0000
commit175718aff45e6dc62b983e073b934256fc7378bd (patch)
treecd44d7b8d0b6675be33addcbee139f6227c20bd9
parent4eb64979878c88021ad286c154decd88cdb5fd8e (diff)
note that current environment can be displayed using env(1) and printenv(1);
this is based on a freebsd pr (#85008) from gary w. swearingen, and the following commit (-r1.24) from keramida@freebsd.
-rw-r--r--share/man/man7/environ.78
1 files changed, 7 insertions, 1 deletions
diff --git a/share/man/man7/environ.7 b/share/man/man7/environ.7
index 3d68b675710..e19e83b415a 100644
--- a/share/man/man7/environ.7
+++ b/share/man/man7/environ.7
@@ -1,4 +1,4 @@
-.\" $OpenBSD: environ.7,v 1.14 2005/01/22 23:11:43 jmc Exp $
+.\" $OpenBSD: environ.7,v 1.15 2005/08/18 08:55:13 jmc Exp $
.\" $NetBSD: environ.7,v 1.4 1995/07/03 19:45:07 jtc Exp $
.\"
.\" Copyright (c) 1983, 1990, 1993
@@ -191,11 +191,17 @@ files, such as
and
.Ev IFS ,
unless you know what you are doing.
+.Pp
+The current environment variables can be printed with
+.Xr env 1
+or
+.Xr printenv 1 .
.Sh SEE ALSO
.Xr csh 1 ,
.Xr env 1 ,
.Xr ex 1 ,
.Xr login 1 ,
+.Xr printenv 1 ,
.Xr sh 1 ,
.Xr execve 2 ,
.Xr execle 3 ,