aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.texi
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-11-23 20:02:53 +0200
committerArnold D. Robbins <arnold@skeeve.com>2014-11-23 20:02:53 +0200
commit723446ecab4a6c88ff129d61e360f70bf17a718b (patch)
treed266d2756c369448a855c567ff55846511dd63fc /doc/gawk.texi
parent0b07960513cbb8aa76b6f301b23cf73b5b2019c7 (diff)
downloadegawk-723446ecab4a6c88ff129d61e360f70bf17a718b.tar.gz
egawk-723446ecab4a6c88ff129d61e360f70bf17a718b.tar.bz2
egawk-723446ecab4a6c88ff129d61e360f70bf17a718b.zip
Update doc on environment vars.
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r--doc/gawk.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 00f2fa5c..7c9beae6 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -14896,6 +14896,12 @@ that it creates. You should therefore be especially careful if you
modify @code{ENVIRON["PATH"]"}, which is the search path for finding
executable programs.
+This can also affect the running @command{gawk} program, since some of the
+built-in functions may pay attention to certain environment variables.
+The most notable instance of this is @code{mktime()} (@pxref{Time
+Functions}), which pays attention the value of the @env{TZ} environment
+variable on many systems.
+
Some operating systems may not have environment variables.
On such systems, the @code{ENVIRON} array is empty (except for
@w{@code{ENVIRON["AWKPATH"]}} and