aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog7
-rw-r--r--doc/gawk.18
-rw-r--r--doc/gawk.info780
-rw-r--r--doc/gawk.texi26
-rw-r--r--doc/gawktexi.in26
5 files changed, 443 insertions, 404 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 41671458..b9909498 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -185,7 +185,7 @@
2013-12-26 Arnold D. Robbins <arnold@skeeve.com>
* gawktexi.in: More minor additions / fixes.
- (Bugs): Add John Malmberg for VMS.
+ (Bugs): Add John Malmberg for VMS. Other minor edits.
2013-12-25 Arnold D. Robbins <arnold@skeeve.com>
@@ -259,6 +259,11 @@
* gawktexi.in (FN, FFN, DF,DDF, PVERSION, CTL): Remove macros.
They have no alternate versions and are just in the way.
+2013-08-15 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawk.1: Document that ENVIRON updates affect the environment.
+ * gawktexi.in: Ditto.
+
2013-06-27 Arnold D. Robbins <arnold@skeeve.com>
* texinfo.tex: Update from Karl, fixes a formating problem.
diff --git a/doc/gawk.1 b/doc/gawk.1
index c7646557..e3275e87 100644
--- a/doc/gawk.1
+++ b/doc/gawk.1
@@ -917,11 +917,17 @@ An array containing the values of the current environment.
The array is indexed by the environment variables, each element being
the value of that variable (e.g., \fBENVIRON["HOME"]\fP might be
\fB"/home/arnold"\fR).
-Changing this array does not affect the environment seen by programs which
+.sp
+In POSIX mode,
+changing this array does not affect the environment seen by programs which
.I gawk
spawns via redirection or the
.B system()
function.
+Otherwise,
+.I gawk
+updates its real environment so that programs it spawns see
+the changes.
.TP
.B ERRNO
If a system error occurs either doing a redirection for
diff --git a/doc/gawk.info b/doc/gawk.info
index 5587b9e8..1824c649 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -9814,10 +9814,18 @@ Options::), they are not special.
An associative array containing the values of the environment.
The array indices are the environment variable names; the elements
are the values of the particular environment variables. For
- example, `ENVIRON["HOME"]' might be `"/home/arnold"'. Changing
- this array does not affect the environment passed on to any
- programs that `awk' may spawn via redirection or the `system()'
- function. (In a future version of `gawk', it may do so.)
+ example, `ENVIRON["HOME"]' might be `/home/arnold'.
+
+ For POSIX `awk', changing this array does not affect the
+ environment passed on to any programs that `awk' may spawn via
+ redirection or the `system()' function.
+
+ However, beginning with version 4.2, if not in POSIX compatibility
+ mode, `gawk' does update its own environment when `ENVIRON' is
+ changed, thus changing the environment seen by programs that it
+ creates. You should therefore be especially careful if you modify
+ `ENVIRON["PATH"]"', which is the search path for finding
+ executable programs.
Some operating systems may not have environment variables. On
such systems, the `ENVIRON' array is empty (except for
@@ -30992,9 +31000,9 @@ Index
* dark corner, exit statement: Exit Statement. (line 30)
* dark corner, field separators: Field Splitting Summary.
(line 46)
-* dark corner, FILENAME variable <1>: Auto-set. (line 90)
+* dark corner, FILENAME variable <1>: Auto-set. (line 98)
* dark corner, FILENAME variable: Getline Notes. (line 19)
-* dark corner, FNR/NR variables: Auto-set. (line 301)
+* dark corner, FNR/NR variables: Auto-set. (line 309)
* dark corner, format-control characters: Control Letters. (line 18)
* dark corner, FS as null string: Single Character Fields.
(line 20)
@@ -31178,12 +31186,12 @@ Index
(line 81)
* differences in awk and gawk, command line directories: Command line directories.
(line 6)
-* differences in awk and gawk, ERRNO variable: Auto-set. (line 74)
+* differences in awk and gawk, ERRNO variable: Auto-set. (line 82)
* differences in awk and gawk, error messages: Special FD. (line 16)
* differences in awk and gawk, FIELDWIDTHS variable: User-modified.
(line 37)
* differences in awk and gawk, FPAT variable: User-modified. (line 43)
-* differences in awk and gawk, FUNCTAB variable: Auto-set. (line 115)
+* differences in awk and gawk, FUNCTAB variable: Auto-set. (line 123)
* differences in awk and gawk, function arguments (gawk): Calling Built-in.
(line 16)
* differences in awk and gawk, getline command: Getline. (line 19)
@@ -31206,7 +31214,7 @@ Index
(line 260)
* differences in awk and gawk, print/printf statements: Format Modifiers.
(line 13)
-* differences in awk and gawk, PROCINFO array: Auto-set. (line 128)
+* differences in awk and gawk, PROCINFO array: Auto-set. (line 136)
* differences in awk and gawk, read timeouts: Read Timeout. (line 6)
* differences in awk and gawk, record separators: awk split records.
(line 124)
@@ -31216,7 +31224,7 @@ Index
(line 26)
* differences in awk and gawk, RS/RT variables: gawk split records.
(line 58)
-* differences in awk and gawk, RT variable: Auto-set. (line 257)
+* differences in awk and gawk, RT variable: Auto-set. (line 265)
* differences in awk and gawk, single-character fields: Single Character Fields.
(line 6)
* differences in awk and gawk, split() function: String Functions.
@@ -31224,7 +31232,7 @@ Index
* differences in awk and gawk, strings: Scalar Constants. (line 20)
* differences in awk and gawk, strings, storing: gawk split records.
(line 77)
-* differences in awk and gawk, SYMTAB variable: Auto-set. (line 261)
+* differences in awk and gawk, SYMTAB variable: Auto-set. (line 269)
* differences in awk and gawk, TEXTDOMAIN variable: User-modified.
(line 152)
* differences in awk and gawk, trunc-mod operation: Arithmetic Ops.
@@ -31265,8 +31273,8 @@ Index
* dynamically loaded extensions: Dynamic Extensions. (line 6)
* e debugger command (alias for enable): Breakpoint Control. (line 73)
* EBCDIC: Ordinal Functions. (line 45)
-* effective group ID of gawk user: Auto-set. (line 133)
-* effective user ID of gawk user: Auto-set. (line 137)
+* effective group ID of gawk user: Auto-set. (line 141)
+* effective user ID of gawk user: Auto-set. (line 145)
* egrep utility <1>: Egrep Program. (line 6)
* egrep utility: Bracket Expressions. (line 24)
* egrep.awk program: Egrep Program. (line 54)
@@ -31321,13 +31329,13 @@ Index
(line 11)
* EREs (Extended Regular Expressions): Bracket Expressions. (line 24)
* ERRNO variable <1>: TCP/IP Networking. (line 54)
-* ERRNO variable: Auto-set. (line 74)
+* ERRNO variable: Auto-set. (line 82)
* ERRNO variable, with BEGINFILE pattern: BEGINFILE/ENDFILE. (line 26)
* ERRNO variable, with close() function: Close Files And Pipes.
(line 139)
* ERRNO variable, with getline command: Getline. (line 19)
* error handling: Special FD. (line 16)
-* error handling, ERRNO variable and: Auto-set. (line 74)
+* error handling, ERRNO variable and: Auto-set. (line 82)
* error output: Special FD. (line 6)
* escape processing, gsub()/gensub()/sub() functions: Gory Details.
(line 6)
@@ -31381,7 +31389,7 @@ Index
(line 6)
* extension API version: Extension Versioning.
(line 6)
-* extension API, version number: Auto-set. (line 224)
+* extension API, version number: Auto-set. (line 232)
* extension example: Extension Example. (line 6)
* extension registration: Registration Functions.
(line 6)
@@ -31460,7 +31468,7 @@ Index
* file names, distinguishing: Auto-set. (line 56)
* file names, in compatibility mode: Special Caveats. (line 9)
* file names, standard streams in gawk: Special FD. (line 46)
-* FILENAME variable <1>: Auto-set. (line 90)
+* FILENAME variable <1>: Auto-set. (line 98)
* FILENAME variable: Reading Files. (line 6)
* FILENAME variable, getline, setting with: Getline Notes. (line 19)
* filenames, assignments as: Ignoring Assigns. (line 6)
@@ -31530,9 +31538,9 @@ Index
* flush buffered output: I/O Functions. (line 28)
* fnmatch() extension function: Extension Sample Fnmatch.
(line 12)
-* FNR variable <1>: Auto-set. (line 99)
+* FNR variable <1>: Auto-set. (line 107)
* FNR variable: Records. (line 6)
-* FNR variable, changing: Auto-set. (line 301)
+* FNR variable, changing: Auto-set. (line 309)
* for statement: For Statement. (line 6)
* for statement, looping over arrays: Scanning an Array. (line 20)
* fork() extension function: Extension Sample Fork.
@@ -31582,7 +31590,7 @@ Index
* FSF (Free Software Foundation): Manual History. (line 6)
* fts() extension function: Extension Sample File Functions.
(line 77)
-* FUNCTAB array: Auto-set. (line 115)
+* FUNCTAB array: Auto-set. (line 123)
* function calls: Function Calls. (line 6)
* function calls, indirect: Indirect Calls. (line 6)
* function definition example: Function Example. (line 6)
@@ -31632,7 +31640,7 @@ Index
* G-d: Acknowledgments. (line 78)
* Garfinkle, Scott: Contributors. (line 34)
* gawk program, dynamic profiling: Profiling. (line 179)
-* gawk version: Auto-set. (line 199)
+* gawk version: Auto-set. (line 207)
* gawk, ARGIND variable in: Other Arguments. (line 12)
* gawk, awk and <1>: This Manual. (line 14)
* gawk, awk and: Preface. (line 23)
@@ -31653,7 +31661,7 @@ Index
* gawk, distribution: Distribution contents.
(line 6)
* gawk, ERRNO variable in <1>: TCP/IP Networking. (line 54)
-* gawk, ERRNO variable in <2>: Auto-set. (line 74)
+* gawk, ERRNO variable in <2>: Auto-set. (line 82)
* gawk, ERRNO variable in <3>: BEGINFILE/ENDFILE. (line 26)
* gawk, ERRNO variable in <4>: Close Files And Pipes.
(line 139)
@@ -31670,7 +31678,7 @@ Index
* gawk, FPAT variable in <1>: User-modified. (line 43)
* gawk, FPAT variable in: Splitting By Content.
(line 27)
-* gawk, FUNCTAB array in: Auto-set. (line 115)
+* gawk, FUNCTAB array in: Auto-set. (line 123)
* gawk, function arguments and: Calling Built-in. (line 16)
* gawk, hexadecimal numbers and: Nondecimal-numbers. (line 42)
* gawk, IGNORECASE variable in <1>: Array Sorting Functions.
@@ -31701,7 +31709,7 @@ Index
* gawk, OS/2 version of: PC Using. (line 16)
* gawk, PROCINFO array in <1>: Two-way I/O. (line 116)
* gawk, PROCINFO array in <2>: Time Functions. (line 47)
-* gawk, PROCINFO array in: Auto-set. (line 128)
+* gawk, PROCINFO array in: Auto-set. (line 136)
* gawk, regexp constants and: Using Constant Regexps.
(line 28)
* gawk, regular expressions, case sensitivity: Case-sensitivity.
@@ -31709,14 +31717,14 @@ Index
* gawk, regular expressions, operators: GNU Regexp Operators.
(line 6)
* gawk, regular expressions, precedence: Regexp Operators. (line 162)
-* gawk, RT variable in <1>: Auto-set. (line 257)
+* gawk, RT variable in <1>: Auto-set. (line 265)
* gawk, RT variable in <2>: Multiple Line. (line 129)
* gawk, RT variable in: awk split records. (line 124)
* gawk, See Also awk: Preface. (line 36)
* gawk, source code, obtaining: Getting. (line 6)
* gawk, splitting fields and: Constant Size. (line 88)
* gawk, string-translation functions: I18N Functions. (line 6)
-* gawk, SYMTAB array in: Auto-set. (line 261)
+* gawk, SYMTAB array in: Auto-set. (line 269)
* gawk, TEXTDOMAIN variable in: User-modified. (line 152)
* gawk, timestamps: Time Functions. (line 6)
* gawk, uses for: Preface. (line 36)
@@ -31803,7 +31811,7 @@ Index
* Grigera, Juan: Contributors. (line 57)
* group database, reading: Group Functions. (line 6)
* group file: Group Functions. (line 6)
-* group ID of gawk user: Auto-set. (line 172)
+* group ID of gawk user: Auto-set. (line 180)
* groups, information about: Group Functions. (line 6)
* gsub <1>: String Functions. (line 139)
* gsub: Using Constant Regexps.
@@ -32098,7 +32106,7 @@ Index
* mawk utility <3>: Concatenation. (line 36)
* mawk utility <4>: Getline/Pipe. (line 62)
* mawk utility: Escape Sequences. (line 124)
-* maximum precision supported by MPFR library: Auto-set. (line 213)
+* maximum precision supported by MPFR library: Auto-set. (line 221)
* McPhee, Patrick: Contributors. (line 100)
* message object files: Explaining gettext. (line 41)
* message object files, converting from portable object files: I18N Example.
@@ -32110,7 +32118,7 @@ Index
* messages from extensions: Printing Messages. (line 6)
* metacharacters in regular expressions: Regexp Operators. (line 6)
* metacharacters, escape sequences for: Escape Sequences. (line 130)
-* minimum precision supported by MPFR library: Auto-set. (line 216)
+* minimum precision supported by MPFR library: Auto-set. (line 224)
* mktime: Time Functions. (line 25)
* modifiers, in format specifiers: Format Modifiers. (line 6)
* monetary information, localization: Explaining gettext. (line 103)
@@ -32164,7 +32172,7 @@ Index
(line 47)
* nexti debugger command: Debugger Execution Control.
(line 49)
-* NF variable <1>: Auto-set. (line 104)
+* NF variable <1>: Auto-set. (line 112)
* NF variable: Fields. (line 33)
* NF variable, decrementing: Changing Fields. (line 107)
* ni debugger command (alias for nexti): Debugger Execution Control.
@@ -32173,9 +32181,9 @@ Index
* non-existent array elements: Reference to Elements.
(line 23)
* not Boolean-logic operator: Boolean Ops. (line 6)
-* NR variable <1>: Auto-set. (line 123)
+* NR variable <1>: Auto-set. (line 131)
* NR variable: Records. (line 6)
-* NR variable, changing: Auto-set. (line 301)
+* NR variable, changing: Auto-set. (line 309)
* null strings <1>: Basic Data Typing. (line 26)
* null strings <2>: Truth Values. (line 6)
* null strings <3>: Regexp Field Splitting.
@@ -32290,7 +32298,7 @@ Index
* p debugger command (alias for print): Viewing And Changing Data.
(line 36)
* P1003.1 POSIX standard: Glossary. (line 454)
-* parent process ID of gawk process: Auto-set. (line 181)
+* parent process ID of gawk process: Auto-set. (line 189)
* parentheses (), in a profile: Profiling. (line 146)
* parentheses (), regexp operator: Regexp Operators. (line 80)
* password file: Passwd Functions. (line 16)
@@ -32455,24 +32463,24 @@ Index
* printing, unduplicated lines of text: Uniq Program. (line 6)
* printing, user information: Id Program. (line 6)
* private variables: Library Names. (line 11)
-* process group idIDof gawk process: Auto-set. (line 175)
-* process ID of gawk process: Auto-set. (line 178)
+* process group idIDof gawk process: Auto-set. (line 183)
+* process ID of gawk process: Auto-set. (line 186)
* processes, two-way communications with: Two-way I/O. (line 23)
* processing data: Basic High Level. (line 6)
* PROCINFO array <1>: Passwd Functions. (line 6)
* PROCINFO array <2>: Time Functions. (line 47)
-* PROCINFO array: Auto-set. (line 128)
+* PROCINFO array: Auto-set. (line 136)
* PROCINFO array, and communications via ptys: Two-way I/O. (line 116)
* PROCINFO array, and group membership: Group Functions. (line 6)
* PROCINFO array, and user and group ID numbers: Id Program. (line 15)
* PROCINFO array, testing the field splitting: Passwd Functions.
(line 161)
-* PROCINFO array, uses: Auto-set. (line 234)
+* PROCINFO array, uses: Auto-set. (line 242)
* PROCINFO, values of sorted_in: Controlling Scanning.
(line 26)
* profiling awk programs: Profiling. (line 6)
* profiling awk programs, dynamically: Profiling. (line 179)
-* program identifiers: Auto-set. (line 146)
+* program identifiers: Auto-set. (line 154)
* program, definition of: Getting Started. (line 21)
* programmers, attractiveness of: Two-way I/O. (line 6)
* programming conventions, --non-decimal-data option: Nondecimal Data.
@@ -32632,7 +32640,7 @@ Index
* right shift: Bitwise Functions. (line 52)
* right shift, bitwise: Bitwise Functions. (line 32)
* Ritchie, Dennis: Basic Data Typing. (line 55)
-* RLENGTH variable: Auto-set. (line 244)
+* RLENGTH variable: Auto-set. (line 252)
* RLENGTH variable, match() function and: String Functions. (line 224)
* Robbins, Arnold <1>: Future Extensions. (line 6)
* Robbins, Arnold <2>: Bugs. (line 32)
@@ -32661,9 +32669,9 @@ Index
* RS variable: awk split records. (line 12)
* RS variable, multiline records and: Multiple Line. (line 17)
* rshift: Bitwise Functions. (line 52)
-* RSTART variable: Auto-set. (line 250)
+* RSTART variable: Auto-set. (line 258)
* RSTART variable, match() function and: String Functions. (line 224)
-* RT variable <1>: Auto-set. (line 257)
+* RT variable <1>: Auto-set. (line 265)
* RT variable <2>: Multiple Line. (line 129)
* RT variable: awk split records. (line 124)
* Rubin, Paul <1>: Contributors. (line 15)
@@ -32683,7 +32691,7 @@ Index
* scanning arrays: Scanning an Array. (line 6)
* scanning multidimensional arrays: Multiscanning. (line 11)
* Schorr, Andrew <1>: Contributors. (line 131)
-* Schorr, Andrew <2>: Auto-set. (line 284)
+* Schorr, Andrew <2>: Auto-set. (line 292)
* Schorr, Andrew: Acknowledgments. (line 60)
* Schreiber, Bert: Acknowledgments. (line 38)
* Schreiber, Rita: Acknowledgments. (line 38)
@@ -32771,7 +32779,7 @@ Index
(line 110)
* sidebar, Changing FS Does Not Affect the Fields: Field Splitting Summary.
(line 38)
-* sidebar, Changing NR and FNR: Auto-set. (line 299)
+* sidebar, Changing NR and FNR: Auto-set. (line 307)
* sidebar, Controlling Output Buffering with system(): I/O Functions.
(line 138)
* sidebar, Escape Sequences for Metacharacters: Escape Sequences.
@@ -32933,9 +32941,9 @@ Index
* substr: String Functions. (line 479)
* substring: String Functions. (line 479)
* Sumner, Andrew: Other Versions. (line 64)
-* supplementary groups of gawk process: Auto-set. (line 229)
+* supplementary groups of gawk process: Auto-set. (line 237)
* switch statement: Switch Statement. (line 6)
-* SYMTAB array: Auto-set. (line 261)
+* SYMTAB array: Auto-set. (line 269)
* syntactic ambiguity: /= operator vs. /=.../ regexp constant: Assignment Ops.
(line 148)
* system: I/O Functions. (line 75)
@@ -33113,10 +33121,10 @@ Index
* variables, uninitialized, as array subscripts: Uninitialized Subscripts.
(line 6)
* variables, user-defined: Variables. (line 6)
-* version of gawk: Auto-set. (line 199)
-* version of gawk extension API: Auto-set. (line 224)
-* version of GNU MP library: Auto-set. (line 210)
-* version of GNU MPFR library: Auto-set. (line 206)
+* version of gawk: Auto-set. (line 207)
+* version of gawk extension API: Auto-set. (line 232)
+* version of GNU MP library: Auto-set. (line 218)
+* version of GNU MPFR library: Auto-set. (line 214)
* vertical bar (|): Regexp Operators. (line 70)
* vertical bar (|), | operator (I/O) <1>: Precedence. (line 65)
* vertical bar (|), | operator (I/O): Getline/Pipe. (line 9)
@@ -33395,342 +33403,342 @@ Node: Built-in Variables409298
Node: User-modified410394
Ref: User-modified-Footnote-1418079
Node: Auto-set418141
-Ref: Auto-set-Footnote-1430706
-Ref: Auto-set-Footnote-2430911
-Node: ARGC and ARGV430967
-Node: Arrays434821
-Node: Array Basics436319
-Node: Array Intro437145
-Ref: figure-array-elements439118
-Node: Reference to Elements441525
-Node: Assigning Elements443798
-Node: Array Example444289
-Node: Scanning an Array446021
-Node: Controlling Scanning449036
-Ref: Controlling Scanning-Footnote-1454209
-Node: Delete454525
-Ref: Delete-Footnote-1457290
-Node: Numeric Array Subscripts457347
-Node: Uninitialized Subscripts459530
-Node: Multidimensional461155
-Node: Multiscanning464248
-Node: Arrays of Arrays465837
-Node: Functions470477
-Node: Built-in471296
-Node: Calling Built-in472374
-Node: Numeric Functions474362
-Ref: Numeric Functions-Footnote-1478196
-Ref: Numeric Functions-Footnote-2478553
-Ref: Numeric Functions-Footnote-3478601
-Node: String Functions478870
-Ref: String Functions-Footnote-1501881
-Ref: String Functions-Footnote-2502010
-Ref: String Functions-Footnote-3502258
-Node: Gory Details502345
-Ref: table-sub-escapes504014
-Ref: table-sub-posix-92505368
-Ref: table-sub-proposed506719
-Ref: table-posix-sub508073
-Ref: table-gensub-escapes509618
-Ref: Gory Details-Footnote-1510794
-Ref: Gory Details-Footnote-2510845
-Node: I/O Functions510996
-Ref: I/O Functions-Footnote-1518119
-Node: Time Functions518266
-Ref: Time Functions-Footnote-1528730
-Ref: Time Functions-Footnote-2528798
-Ref: Time Functions-Footnote-3528956
-Ref: Time Functions-Footnote-4529067
-Ref: Time Functions-Footnote-5529179
-Ref: Time Functions-Footnote-6529406
-Node: Bitwise Functions529672
-Ref: table-bitwise-ops530234
-Ref: Bitwise Functions-Footnote-1534479
-Node: Type Functions534663
-Node: I18N Functions535805
-Node: User-defined537450
-Node: Definition Syntax538254
-Ref: Definition Syntax-Footnote-1543169
-Node: Function Example543238
-Ref: Function Example-Footnote-1545882
-Node: Function Caveats545904
-Node: Calling A Function546422
-Node: Variable Scope547377
-Node: Pass By Value/Reference550365
-Node: Return Statement553873
-Node: Dynamic Typing556855
-Node: Indirect Calls557784
-Node: Library Functions567471
-Ref: Library Functions-Footnote-1570984
-Ref: Library Functions-Footnote-2571127
-Node: Library Names571298
-Ref: Library Names-Footnote-1574771
-Ref: Library Names-Footnote-2574991
-Node: General Functions575077
-Node: Strtonum Function576105
-Node: Assert Function579035
-Node: Round Function582361
-Node: Cliff Random Function583902
-Node: Ordinal Functions584918
-Ref: Ordinal Functions-Footnote-1587995
-Ref: Ordinal Functions-Footnote-2588247
-Node: Join Function588458
-Ref: Join Function-Footnote-1590229
-Node: Getlocaltime Function590429
-Node: Readfile Function594170
-Node: Data File Management596009
-Node: Filetrans Function596641
-Node: Rewind Function600710
-Node: File Checking602097
-Node: Empty Files603191
-Node: Ignoring Assigns605421
-Node: Getopt Function606975
-Ref: Getopt Function-Footnote-1618278
-Node: Passwd Functions618481
-Ref: Passwd Functions-Footnote-1627459
-Node: Group Functions627547
-Node: Walking Arrays635631
-Node: Sample Programs637767
-Node: Running Examples638441
-Node: Clones639169
-Node: Cut Program640393
-Node: Egrep Program650244
-Ref: Egrep Program-Footnote-1658017
-Node: Id Program658127
-Node: Split Program661776
-Ref: Split Program-Footnote-1665295
-Node: Tee Program665423
-Node: Uniq Program668226
-Node: Wc Program675655
-Ref: Wc Program-Footnote-1679921
-Ref: Wc Program-Footnote-2680121
-Node: Miscellaneous Programs680213
-Node: Dupword Program681401
-Node: Alarm Program683432
-Node: Translate Program688239
-Ref: Translate Program-Footnote-1692626
-Ref: Translate Program-Footnote-2692874
-Node: Labels Program693008
-Ref: Labels Program-Footnote-1696379
-Node: Word Sorting696463
-Node: History Sorting700347
-Node: Extract Program702186
-Ref: Extract Program-Footnote-1709689
-Node: Simple Sed709817
-Node: Igawk Program712879
-Ref: Igawk Program-Footnote-1728050
-Ref: Igawk Program-Footnote-2728251
-Node: Anagram Program728389
-Node: Signature Program731457
-Node: Advanced Features732557
-Node: Nondecimal Data734443
-Node: Array Sorting736026
-Node: Controlling Array Traversal736723
-Node: Array Sorting Functions745007
-Ref: Array Sorting Functions-Footnote-1748876
-Node: Two-way I/O749070
-Ref: Two-way I/O-Footnote-1754502
-Node: TCP/IP Networking754584
-Node: Profiling757428
-Node: Internationalization764931
-Node: I18N and L10N766356
-Node: Explaining gettext767042
-Ref: Explaining gettext-Footnote-1772110
-Ref: Explaining gettext-Footnote-2772294
-Node: Programmer i18n772459
-Node: Translator i18n776686
-Node: String Extraction777480
-Ref: String Extraction-Footnote-1778441
-Node: Printf Ordering778527
-Ref: Printf Ordering-Footnote-1781309
-Node: I18N Portability781373
-Ref: I18N Portability-Footnote-1783822
-Node: I18N Example783885
-Ref: I18N Example-Footnote-1786523
-Node: Gawk I18N786595
-Node: Debugger787216
-Node: Debugging788187
-Node: Debugging Concepts788620
-Node: Debugging Terms790476
-Node: Awk Debugging793073
-Node: Sample Debugging Session793965
-Node: Debugger Invocation794485
-Node: Finding The Bug795818
-Node: List of Debugger Commands802305
-Node: Breakpoint Control803639
-Node: Debugger Execution Control807303
-Node: Viewing And Changing Data810663
-Node: Execution Stack814019
-Node: Debugger Info815486
-Node: Miscellaneous Debugger Commands819480
-Node: Readline Support824658
-Node: Limitations825489
-Node: Arbitrary Precision Arithmetic827741
-Ref: Arbitrary Precision Arithmetic-Footnote-1829390
-Node: General Arithmetic829538
-Node: Floating Point Issues831258
-Node: String Conversion Precision832139
-Ref: String Conversion Precision-Footnote-1833844
-Node: Unexpected Results833953
-Node: POSIX Floating Point Problems836106
-Ref: POSIX Floating Point Problems-Footnote-1839931
-Node: Integer Programming839969
-Node: Floating-point Programming841708
-Ref: Floating-point Programming-Footnote-1848039
-Ref: Floating-point Programming-Footnote-2848309
-Node: Floating-point Representation848573
-Node: Floating-point Context849738
-Ref: table-ieee-formats850577
-Node: Rounding Mode851961
-Ref: table-rounding-modes852440
-Ref: Rounding Mode-Footnote-1855455
-Node: Gawk and MPFR855634
-Node: Arbitrary Precision Floats857043
-Ref: Arbitrary Precision Floats-Footnote-1859486
-Node: Setting Precision859802
-Ref: table-predefined-precision-strings860488
-Node: Setting Rounding Mode862633
-Ref: table-gawk-rounding-modes863037
-Node: Floating-point Constants864224
-Node: Changing Precision865653
-Ref: Changing Precision-Footnote-1867050
-Node: Exact Arithmetic867224
-Node: Arbitrary Precision Integers870362
-Ref: Arbitrary Precision Integers-Footnote-1873377
-Node: Dynamic Extensions873524
-Node: Extension Intro874982
-Node: Plugin License876247
-Node: Extension Mechanism Outline876932
-Ref: load-extension877349
-Ref: load-new-function878827
-Ref: call-new-function879822
-Node: Extension API Description881837
-Node: Extension API Functions Introduction883124
-Node: General Data Types888051
-Ref: General Data Types-Footnote-1893746
-Node: Requesting Values894045
-Ref: table-value-types-returned894782
-Node: Memory Allocation Functions895736
-Ref: Memory Allocation Functions-Footnote-1898482
-Node: Constructor Functions898578
-Node: Registration Functions900336
-Node: Extension Functions901021
-Node: Exit Callback Functions903323
-Node: Extension Version String904572
-Node: Input Parsers905222
-Node: Output Wrappers914979
-Node: Two-way processors919489
-Node: Printing Messages921697
-Ref: Printing Messages-Footnote-1922774
-Node: Updating `ERRNO'922926
-Node: Accessing Parameters923665
-Node: Symbol Table Access924895
-Node: Symbol table by name925409
-Node: Symbol table by cookie927385
-Ref: Symbol table by cookie-Footnote-1931517
-Node: Cached values931580
-Ref: Cached values-Footnote-1935070
-Node: Array Manipulation935161
-Ref: Array Manipulation-Footnote-1936259
-Node: Array Data Types936298
-Ref: Array Data Types-Footnote-1939001
-Node: Array Functions939093
-Node: Flattening Arrays942929
-Node: Creating Arrays949781
-Node: Extension API Variables954506
-Node: Extension Versioning955142
-Node: Extension API Informational Variables957043
-Node: Extension API Boilerplate958129
-Node: Finding Extensions961933
-Node: Extension Example962493
-Node: Internal File Description963223
-Node: Internal File Ops967314
-Ref: Internal File Ops-Footnote-1978823
-Node: Using Internal File Ops978963
-Ref: Using Internal File Ops-Footnote-1981310
-Node: Extension Samples981576
-Node: Extension Sample File Functions983100
-Node: Extension Sample Fnmatch991587
-Node: Extension Sample Fork993356
-Node: Extension Sample Inplace994569
-Node: Extension Sample Ord996347
-Node: Extension Sample Readdir997183
-Node: Extension Sample Revout998715
-Node: Extension Sample Rev2way999308
-Node: Extension Sample Read write array999998
-Node: Extension Sample Readfile1001881
-Node: Extension Sample API Tests1002981
-Node: Extension Sample Time1003506
-Node: gawkextlib1004870
-Node: Language History1007651
-Node: V7/SVR3.11009244
-Node: SVR41011564
-Node: POSIX1013006
-Node: BTL1014392
-Node: POSIX/GNU1015126
-Node: Feature History1020725
-Node: Common Extensions1033701
-Node: Ranges and Locales1035013
-Ref: Ranges and Locales-Footnote-11039630
-Ref: Ranges and Locales-Footnote-21039657
-Ref: Ranges and Locales-Footnote-31039891
-Node: Contributors1040112
-Node: Installation1045493
-Node: Gawk Distribution1046387
-Node: Getting1046871
-Node: Extracting1047697
-Node: Distribution contents1049389
-Node: Unix Installation1055110
-Node: Quick Installation1055727
-Node: Additional Configuration Options1058173
-Node: Configuration Philosophy1059909
-Node: Non-Unix Installation1062263
-Node: PC Installation1062721
-Node: PC Binary Installation1064032
-Node: PC Compiling1065880
-Node: PC Testing1068840
-Node: PC Using1070016
-Node: Cygwin1074184
-Node: MSYS1074993
-Node: VMS Installation1075507
-Node: VMS Compilation1076303
-Ref: VMS Compilation-Footnote-11077555
-Node: VMS Dynamic Extensions1077613
-Node: VMS Installation Details1078986
-Node: VMS Running1081237
-Node: VMS GNV1084071
-Node: VMS Old Gawk1084794
-Node: Bugs1085264
-Node: Other Versions1089182
-Node: Notes1095266
-Node: Compatibility Mode1096066
-Node: Additions1096849
-Node: Accessing The Source1097776
-Node: Adding Code1099216
-Node: New Ports1105261
-Node: Derived Files1109396
-Ref: Derived Files-Footnote-11114717
-Ref: Derived Files-Footnote-21114751
-Ref: Derived Files-Footnote-31115351
-Node: Future Extensions1115449
-Node: Implementation Limitations1116032
-Node: Extension Design1117280
-Node: Old Extension Problems1118434
-Ref: Old Extension Problems-Footnote-11119942
-Node: Extension New Mechanism Goals1119999
-Ref: Extension New Mechanism Goals-Footnote-11123364
-Node: Extension Other Design Decisions1123550
-Node: Extension Future Growth1125656
-Node: Old Extension Mechanism1126492
-Node: Basic Concepts1128232
-Node: Basic High Level1128913
-Ref: figure-general-flow1129185
-Ref: figure-process-flow1129784
-Ref: Basic High Level-Footnote-11133013
-Node: Basic Data Typing1133198
-Node: Glossary1136553
-Node: Copying1161784
-Node: GNU Free Documentation License1199340
-Node: Index1224476
+Ref: Auto-set-Footnote-1431043
+Ref: Auto-set-Footnote-2431248
+Node: ARGC and ARGV431304
+Node: Arrays435158
+Node: Array Basics436656
+Node: Array Intro437482
+Ref: figure-array-elements439455
+Node: Reference to Elements441862
+Node: Assigning Elements444135
+Node: Array Example444626
+Node: Scanning an Array446358
+Node: Controlling Scanning449373
+Ref: Controlling Scanning-Footnote-1454546
+Node: Delete454862
+Ref: Delete-Footnote-1457627
+Node: Numeric Array Subscripts457684
+Node: Uninitialized Subscripts459867
+Node: Multidimensional461492
+Node: Multiscanning464585
+Node: Arrays of Arrays466174
+Node: Functions470814
+Node: Built-in471633
+Node: Calling Built-in472711
+Node: Numeric Functions474699
+Ref: Numeric Functions-Footnote-1478533
+Ref: Numeric Functions-Footnote-2478890
+Ref: Numeric Functions-Footnote-3478938
+Node: String Functions479207
+Ref: String Functions-Footnote-1502218
+Ref: String Functions-Footnote-2502347
+Ref: String Functions-Footnote-3502595
+Node: Gory Details502682
+Ref: table-sub-escapes504351
+Ref: table-sub-posix-92505705
+Ref: table-sub-proposed507056
+Ref: table-posix-sub508410
+Ref: table-gensub-escapes509955
+Ref: Gory Details-Footnote-1511131
+Ref: Gory Details-Footnote-2511182
+Node: I/O Functions511333
+Ref: I/O Functions-Footnote-1518456
+Node: Time Functions518603
+Ref: Time Functions-Footnote-1529067
+Ref: Time Functions-Footnote-2529135
+Ref: Time Functions-Footnote-3529293
+Ref: Time Functions-Footnote-4529404
+Ref: Time Functions-Footnote-5529516
+Ref: Time Functions-Footnote-6529743
+Node: Bitwise Functions530009
+Ref: table-bitwise-ops530571
+Ref: Bitwise Functions-Footnote-1534816
+Node: Type Functions535000
+Node: I18N Functions536142
+Node: User-defined537787
+Node: Definition Syntax538591
+Ref: Definition Syntax-Footnote-1543506
+Node: Function Example543575
+Ref: Function Example-Footnote-1546219
+Node: Function Caveats546241
+Node: Calling A Function546759
+Node: Variable Scope547714
+Node: Pass By Value/Reference550702
+Node: Return Statement554210
+Node: Dynamic Typing557192
+Node: Indirect Calls558121
+Node: Library Functions567808
+Ref: Library Functions-Footnote-1571321
+Ref: Library Functions-Footnote-2571464
+Node: Library Names571635
+Ref: Library Names-Footnote-1575108
+Ref: Library Names-Footnote-2575328
+Node: General Functions575414
+Node: Strtonum Function576442
+Node: Assert Function579372
+Node: Round Function582698
+Node: Cliff Random Function584239
+Node: Ordinal Functions585255
+Ref: Ordinal Functions-Footnote-1588332
+Ref: Ordinal Functions-Footnote-2588584
+Node: Join Function588795
+Ref: Join Function-Footnote-1590566
+Node: Getlocaltime Function590766
+Node: Readfile Function594507
+Node: Data File Management596346
+Node: Filetrans Function596978
+Node: Rewind Function601047
+Node: File Checking602434
+Node: Empty Files603528
+Node: Ignoring Assigns605758
+Node: Getopt Function607312
+Ref: Getopt Function-Footnote-1618615
+Node: Passwd Functions618818
+Ref: Passwd Functions-Footnote-1627796
+Node: Group Functions627884
+Node: Walking Arrays635968
+Node: Sample Programs638104
+Node: Running Examples638778
+Node: Clones639506
+Node: Cut Program640730
+Node: Egrep Program650581
+Ref: Egrep Program-Footnote-1658354
+Node: Id Program658464
+Node: Split Program662113
+Ref: Split Program-Footnote-1665632
+Node: Tee Program665760
+Node: Uniq Program668563
+Node: Wc Program675992
+Ref: Wc Program-Footnote-1680258
+Ref: Wc Program-Footnote-2680458
+Node: Miscellaneous Programs680550
+Node: Dupword Program681738
+Node: Alarm Program683769
+Node: Translate Program688576
+Ref: Translate Program-Footnote-1692963
+Ref: Translate Program-Footnote-2693211
+Node: Labels Program693345
+Ref: Labels Program-Footnote-1696716
+Node: Word Sorting696800
+Node: History Sorting700684
+Node: Extract Program702523
+Ref: Extract Program-Footnote-1710026
+Node: Simple Sed710154
+Node: Igawk Program713216
+Ref: Igawk Program-Footnote-1728387
+Ref: Igawk Program-Footnote-2728588
+Node: Anagram Program728726
+Node: Signature Program731794
+Node: Advanced Features732894
+Node: Nondecimal Data734780
+Node: Array Sorting736363
+Node: Controlling Array Traversal737060
+Node: Array Sorting Functions745344
+Ref: Array Sorting Functions-Footnote-1749213
+Node: Two-way I/O749407
+Ref: Two-way I/O-Footnote-1754839
+Node: TCP/IP Networking754921
+Node: Profiling757765
+Node: Internationalization765268
+Node: I18N and L10N766693
+Node: Explaining gettext767379
+Ref: Explaining gettext-Footnote-1772447
+Ref: Explaining gettext-Footnote-2772631
+Node: Programmer i18n772796
+Node: Translator i18n777023
+Node: String Extraction777817
+Ref: String Extraction-Footnote-1778778
+Node: Printf Ordering778864
+Ref: Printf Ordering-Footnote-1781646
+Node: I18N Portability781710
+Ref: I18N Portability-Footnote-1784159
+Node: I18N Example784222
+Ref: I18N Example-Footnote-1786860
+Node: Gawk I18N786932
+Node: Debugger787553
+Node: Debugging788524
+Node: Debugging Concepts788957
+Node: Debugging Terms790813
+Node: Awk Debugging793410
+Node: Sample Debugging Session794302
+Node: Debugger Invocation794822
+Node: Finding The Bug796155
+Node: List of Debugger Commands802642
+Node: Breakpoint Control803976
+Node: Debugger Execution Control807640
+Node: Viewing And Changing Data811000
+Node: Execution Stack814356
+Node: Debugger Info815823
+Node: Miscellaneous Debugger Commands819817
+Node: Readline Support824995
+Node: Limitations825826
+Node: Arbitrary Precision Arithmetic828078
+Ref: Arbitrary Precision Arithmetic-Footnote-1829727
+Node: General Arithmetic829875
+Node: Floating Point Issues831595
+Node: String Conversion Precision832476
+Ref: String Conversion Precision-Footnote-1834181
+Node: Unexpected Results834290
+Node: POSIX Floating Point Problems836443
+Ref: POSIX Floating Point Problems-Footnote-1840268
+Node: Integer Programming840306
+Node: Floating-point Programming842045
+Ref: Floating-point Programming-Footnote-1848376
+Ref: Floating-point Programming-Footnote-2848646
+Node: Floating-point Representation848910
+Node: Floating-point Context850075
+Ref: table-ieee-formats850914
+Node: Rounding Mode852298
+Ref: table-rounding-modes852777
+Ref: Rounding Mode-Footnote-1855792
+Node: Gawk and MPFR855971
+Node: Arbitrary Precision Floats857380
+Ref: Arbitrary Precision Floats-Footnote-1859823
+Node: Setting Precision860139
+Ref: table-predefined-precision-strings860825
+Node: Setting Rounding Mode862970
+Ref: table-gawk-rounding-modes863374
+Node: Floating-point Constants864561
+Node: Changing Precision865990
+Ref: Changing Precision-Footnote-1867387
+Node: Exact Arithmetic867561
+Node: Arbitrary Precision Integers870699
+Ref: Arbitrary Precision Integers-Footnote-1873714
+Node: Dynamic Extensions873861
+Node: Extension Intro875319
+Node: Plugin License876584
+Node: Extension Mechanism Outline877269
+Ref: load-extension877686
+Ref: load-new-function879164
+Ref: call-new-function880159
+Node: Extension API Description882174
+Node: Extension API Functions Introduction883461
+Node: General Data Types888388
+Ref: General Data Types-Footnote-1894083
+Node: Requesting Values894382
+Ref: table-value-types-returned895119
+Node: Memory Allocation Functions896073
+Ref: Memory Allocation Functions-Footnote-1898819
+Node: Constructor Functions898915
+Node: Registration Functions900673
+Node: Extension Functions901358
+Node: Exit Callback Functions903660
+Node: Extension Version String904909
+Node: Input Parsers905559
+Node: Output Wrappers915316
+Node: Two-way processors919826
+Node: Printing Messages922034
+Ref: Printing Messages-Footnote-1923111
+Node: Updating `ERRNO'923263
+Node: Accessing Parameters924002
+Node: Symbol Table Access925232
+Node: Symbol table by name925746
+Node: Symbol table by cookie927722
+Ref: Symbol table by cookie-Footnote-1931854
+Node: Cached values931917
+Ref: Cached values-Footnote-1935407
+Node: Array Manipulation935498
+Ref: Array Manipulation-Footnote-1936596
+Node: Array Data Types936635
+Ref: Array Data Types-Footnote-1939338
+Node: Array Functions939430
+Node: Flattening Arrays943266
+Node: Creating Arrays950118
+Node: Extension API Variables954843
+Node: Extension Versioning955479
+Node: Extension API Informational Variables957380
+Node: Extension API Boilerplate958466
+Node: Finding Extensions962270
+Node: Extension Example962830
+Node: Internal File Description963560
+Node: Internal File Ops967651
+Ref: Internal File Ops-Footnote-1979160
+Node: Using Internal File Ops979300
+Ref: Using Internal File Ops-Footnote-1981647
+Node: Extension Samples981913
+Node: Extension Sample File Functions983437
+Node: Extension Sample Fnmatch991924
+Node: Extension Sample Fork993693
+Node: Extension Sample Inplace994906
+Node: Extension Sample Ord996684
+Node: Extension Sample Readdir997520
+Node: Extension Sample Revout999052
+Node: Extension Sample Rev2way999645
+Node: Extension Sample Read write array1000335
+Node: Extension Sample Readfile1002218
+Node: Extension Sample API Tests1003318
+Node: Extension Sample Time1003843
+Node: gawkextlib1005207
+Node: Language History1007988
+Node: V7/SVR3.11009581
+Node: SVR41011901
+Node: POSIX1013343
+Node: BTL1014729
+Node: POSIX/GNU1015463
+Node: Feature History1021062
+Node: Common Extensions1034038
+Node: Ranges and Locales1035350
+Ref: Ranges and Locales-Footnote-11039967
+Ref: Ranges and Locales-Footnote-21039994
+Ref: Ranges and Locales-Footnote-31040228
+Node: Contributors1040449
+Node: Installation1045830
+Node: Gawk Distribution1046724
+Node: Getting1047208
+Node: Extracting1048034
+Node: Distribution contents1049726
+Node: Unix Installation1055447
+Node: Quick Installation1056064
+Node: Additional Configuration Options1058510
+Node: Configuration Philosophy1060246
+Node: Non-Unix Installation1062600
+Node: PC Installation1063058
+Node: PC Binary Installation1064369
+Node: PC Compiling1066217
+Node: PC Testing1069177
+Node: PC Using1070353
+Node: Cygwin1074521
+Node: MSYS1075330
+Node: VMS Installation1075844
+Node: VMS Compilation1076640
+Ref: VMS Compilation-Footnote-11077892
+Node: VMS Dynamic Extensions1077950
+Node: VMS Installation Details1079323
+Node: VMS Running1081574
+Node: VMS GNV1084408
+Node: VMS Old Gawk1085131
+Node: Bugs1085601
+Node: Other Versions1089519
+Node: Notes1095603
+Node: Compatibility Mode1096403
+Node: Additions1097186
+Node: Accessing The Source1098113
+Node: Adding Code1099553
+Node: New Ports1105598
+Node: Derived Files1109733
+Ref: Derived Files-Footnote-11115054
+Ref: Derived Files-Footnote-21115088
+Ref: Derived Files-Footnote-31115688
+Node: Future Extensions1115786
+Node: Implementation Limitations1116369
+Node: Extension Design1117617
+Node: Old Extension Problems1118771
+Ref: Old Extension Problems-Footnote-11120279
+Node: Extension New Mechanism Goals1120336
+Ref: Extension New Mechanism Goals-Footnote-11123701
+Node: Extension Other Design Decisions1123887
+Node: Extension Future Growth1125993
+Node: Old Extension Mechanism1126829
+Node: Basic Concepts1128569
+Node: Basic High Level1129250
+Ref: figure-general-flow1129522
+Ref: figure-process-flow1130121
+Ref: Basic High Level-Footnote-11133350
+Node: Basic Data Typing1133535
+Node: Glossary1136890
+Node: Copying1162121
+Node: GNU Free Documentation License1199677
+Node: Index1224813

End Tag Table
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 10897efd..10ddd235 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -14067,10 +14067,18 @@ next file is opened.
An associative array containing the values of the environment. The array
indices are the environment variable names; the elements are the values of
the particular environment variables. For example,
-@code{ENVIRON["HOME"]} might be @code{"/home/arnold"}. Changing this array
-does not affect the environment passed on to any programs that
-@command{awk} may spawn via redirection or the @code{system()} function.
-(In a future version of @command{gawk}, it may do so.)
+@code{ENVIRON["HOME"]} might be @code{/home/arnold}.
+
+For POSIX @command{awk}, changing this array does not affect the
+environment passed on to any programs that @command{awk} may spawn via
+redirection or the @code{system()} function.
+
+However, beginning with version 4.2, if not in POSIX
+compatibility mode, @command{gawk} does update its own environment when
+@code{ENVIRON} is changed, thus changing the environment seen by programs
+that it creates. You should therefore be especially careful if you
+modify @code{ENVIRON["PATH"]"}, which is the search path for finding
+executable programs.
Some operating systems may not have environment variables.
On such systems, the @code{ENVIRON} array is empty (except for
@@ -36990,9 +36998,10 @@ mail at the Internet address noted previously.
If you find bugs in one of the non-Unix ports of @command{gawk}, please send
an electronic mail message to the person who maintains that port. They
-are named in the following list, as well as in the @file{README} file in the @command{gawk}
-distribution. Information in the @file{README} file should be considered
-authoritative if it conflicts with this @value{DOCUMENT}.
+are named in the following list, as well as in the @file{README} file
+in the @command{gawk} distribution. Information in the @file{README}
+file should be considered authoritative if it conflicts with this
+@value{DOCUMENT}.
The people maintaining the non-Unix ports of @command{gawk} are
as follows:
@@ -37020,7 +37029,8 @@ John Malmberg, @EMAIL{wb8tyw@@qsl.net,wb8tyw at qsl.net}.
@end multitable
If your bug is also reproducible under Unix, please send a copy of your
-report to the @EMAIL{bug-gawk@@gnu.org,bug-gawk at gnu dot org} email list as well.
+report to the @EMAIL{bug-gawk@@gnu.org,bug-gawk at gnu dot org} email
+list as well.
@c ENDOFRANGE dbugg
@c ENDOFRANGE tblgawb
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index f54748e6..d45cae06 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -13447,10 +13447,18 @@ next file is opened.
An associative array containing the values of the environment. The array
indices are the environment variable names; the elements are the values of
the particular environment variables. For example,
-@code{ENVIRON["HOME"]} might be @code{"/home/arnold"}. Changing this array
-does not affect the environment passed on to any programs that
-@command{awk} may spawn via redirection or the @code{system()} function.
-(In a future version of @command{gawk}, it may do so.)
+@code{ENVIRON["HOME"]} might be @code{/home/arnold}.
+
+For POSIX @command{awk}, changing this array does not affect the
+environment passed on to any programs that @command{awk} may spawn via
+redirection or the @code{system()} function.
+
+However, beginning with version 4.2, if not in POSIX
+compatibility mode, @command{gawk} does update its own environment when
+@code{ENVIRON} is changed, thus changing the environment seen by programs
+that it creates. You should therefore be especially careful if you
+modify @code{ENVIRON["PATH"]"}, which is the search path for finding
+executable programs.
Some operating systems may not have environment variables.
On such systems, the @code{ENVIRON} array is empty (except for
@@ -36134,9 +36142,10 @@ mail at the Internet address noted previously.
If you find bugs in one of the non-Unix ports of @command{gawk}, please send
an electronic mail message to the person who maintains that port. They
-are named in the following list, as well as in the @file{README} file in the @command{gawk}
-distribution. Information in the @file{README} file should be considered
-authoritative if it conflicts with this @value{DOCUMENT}.
+are named in the following list, as well as in the @file{README} file
+in the @command{gawk} distribution. Information in the @file{README}
+file should be considered authoritative if it conflicts with this
+@value{DOCUMENT}.
The people maintaining the non-Unix ports of @command{gawk} are
as follows:
@@ -36164,7 +36173,8 @@ John Malmberg, @EMAIL{wb8tyw@@qsl.net,wb8tyw at qsl.net}.
@end multitable
If your bug is also reproducible under Unix, please send a copy of your
-report to the @EMAIL{bug-gawk@@gnu.org,bug-gawk at gnu dot org} email list as well.
+report to the @EMAIL{bug-gawk@@gnu.org,bug-gawk at gnu dot org} email
+list as well.
@c ENDOFRANGE dbugg
@c ENDOFRANGE tblgawb