язык сканирования и обработки шаблонов (pattern scanning and processing language)
Переменные окружения (Environment variables)
The AWKPATH
environment variable can be used to provide a list of
directories that gawk searches when looking for files named via
the -f
, --file
, -i
and --include
options, and the @include
directive. If the initial search fails, the path is searched
again after appending .awk
to the filename.
The AWKLIBPATH
environment variable can be used to provide a list
of directories that gawk searches when looking for files named
via the -l
and --load
options.
The GAWK_READ_TIMEOUT
environment variable can be used to specify
a timeout in milliseconds for reading input from a terminal, pipe
or two-way communication including sockets.
For connection to a remote host via socket, GAWK_SOCK_RETRIES
controls the number of retries, and GAWK_MSEC_SLEEP
the interval
between retries. The interval is in milliseconds. On systems
that do not support usleep(3), the value is rounded up to an
integral number of seconds.
If POSIXLY_CORRECT
exists in the environment, then gawk behaves
exactly as if --posix
had been specified on the command line. If
--lint
has been specified, gawk issues a warning message to this
effect.