gawk
Not in POSIX awk
The GNU implementation, gawk
, adds a number of features.
This sections lists them in the order they were added to gawk
.
They can all be disabled with either the `--traditional' or
`--posix' options
(see section Command Line Options).
Version 2.10 of gawk
introduced these features:
AWKPATH
environment variable for specifying a path search for
the `-f' command line option
(see section Command Line Options).
IGNORECASE
variable and its effects
(see section Case-sensitivity in Matching).
gawk
).
Version 2.13 of gawk
introduced these features:
FIELDWIDTHS
variable and its effects
(see section Reading Fixed-width Data).
systime
and strftime
built-in functions for obtaining
and printing time stamps
(see section Functions for Dealing with Time Stamps).
Version 2.14 of gawk
introduced these features:
next file
statement for skipping to the next data file
(see section The nextfile
Statement).
Version 2.15 of gawk
introduced these features:
ARGIND
variable, that tracks the movement of FILENAME
through ARGV
(see section Built-in Variables).
ERRNO
variable, that contains the system error message when
getline
returns -1, or when close
fails
(see section Built-in Variables).
gawk
).
Version 3.0 of gawk
introduced these features:
next file
statement became nextfile
(see section The nextfile
Statement).
awk
(see section Major Changes between V7 and SVR3.1).
FS
to be a null string, and for the third
argument to split
to be the null string
(see section Making Each Character a Separate Field).
RS
to be a regexp
(see section How Input is Split into Records).
RT
variable
(see section How Input is Split into Records).
gensub
function for more powerful text manipulation
(see section Built-in Functions for String Manipulation).
strftime
function acquired a default time format,
allowing it to be called with no arguments
(see section Functions for Dealing with Time Stamps).
IGNORECASE
changed, now applying to string comparison as well
as regexp operations
(see section Case-sensitivity in Matching).
fflush
function from the
Bell Labs research version of awk
(see section Command Line Options; also
see section Built-in Functions for Input/Output).
gawk
for Unix).
gawk
on an Amiga).
Go to the first, previous, next, last section, table of contents.