| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
2.5.2 Other Environment Variables
A number of other environment variables affect gawk’s
behavior, but they are more specialized. Those in the following
list are meant to be used by regular users.
POSIXLY_CORRECTCauses
gawkto switch POSIX compatibility mode, disabling all traditional and GNU extensions. See section Command-Line Options.GAWK_SOCK_RETRIESControls the number of time
gawkwill attempt to retry a two-way TCP/IP (socket) connection before giving up. See section Usinggawkfor Network Programming.GAWK_MSEC_SLEEPSpecifies the interval between connection retries, in milliseconds. On systems that do not support the
usleep()system call, the value is rounded up to an integral number of seconds.
The environment variables in the following list are meant
for use by the gawk developers for testing and tuning.
They are subject to change. The variables are:
AVG_CHAIN_MAXThe average number of items
gawkwill maintain on a hash chain for managing arrays.AWK_HASHIf this variable exists with a value of ‘gst’,
gawkwill switch to using the hash function from GNU Smalltalk for managing arrays. This function may be marginally faster than the standard function.AWKREADFUNCIf this variable exists,
gawkswitches to reading source files one line at a time, instead of reading in blocks. This exists for debugging problems on filesystems on non-POSIX operating systems where I/O is performed in records, not in blocks.GAWK_NO_DFAIf this variable exists,
gawkdoes not use the DFA regexp matcher for “does it match” kinds of tests. This can causegawkto be slower. Its purpose is to help isolate differences between the two regexp matchers thatgawkuses internally. (There aren’t supposed to be differences, but occasionally theory and practice don’t coordinate with each other.)GAWK_STACKSIZEThis specifies the amount by which
gawkshould grow its internal evaluation stack, when needed.TIDYMEMIf this variable exists,
gawkuses themtrace()library calls from GNU LIBC to help track down possible memory leaks.
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on March 30, 2012 using texi2html 5.0.