[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
gawk
Not in POSIX awk
The GNU implementation, gawk
, adds a large number of features.
This section 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 the following 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 the following features:
FIELDWIDTHS
variable and its effects
(see section Reading Fixed-Width Data).
systime
and strftime
built-in functions for obtaining
and printing timestamps
(see section Using gawk
's Timestamp Functions).
Version 2.14 of gawk
introduced the following feature:
next file
statement for skipping to the next data file
(see section Using gawk
's nextfile
Statement).
Version 2.15 of gawk
introduced the following features:
ARGIND
variable, which tracks the movement of FILENAME
through ARGV
(see section 7.5 Built-in Variables).
ERRNO
variable, which contains the system error message when
getline
returns -1 or when close
fails
(see section 7.5 Built-in Variables).
gawk
).
delete
Statement).
Version 3.0 of gawk
introduced the following features:
IGNORECASE
changed, now applying to string comparison as well
as regexp operations
(see section Case Sensitivity in Matching).
RT
variable that contains the input text that
matched RS
(see section How Input Is Split into Records).
gensub
function for more powerful text manipulation
(see section String Manipulation Functions).
strftime
function acquired a default time format,
allowing it to be called with no arguments
(see section Using gawk
's Timestamp Functions).
FS
and for the third
argument to split
to be null strings
(see section Making Each Character a Separate Field).
RS
to be a regexp
(see section How Input Is Split into Records).
next file
statement became nextfile
(see section Using gawk
's nextfile
Statement).
awk
(see section Major Changes Between V7 and SVR3.1).
fflush
function from the
Bell Laboratories research version of awk
(see section Command-Line Options; also
see section Input/Output Functions).
gawk
for Unix).
gawk
on an Amiga).
Version 3.1 of gawk
introduced the following features:
BINMODE
special variable for non-POSIX systems,
which allows binary I/O for input and/or output files
(see section Using gawk
on PC Operating Systems).
LINT
special variable, which dynamically controls lint warnings
(see section 7.5 Built-in Variables).
PROCINFO
array for providing process-related information
(see section 7.5 Built-in Variables).
TEXTDOMAIN
special variable for setting an application's
internationalization text domain
(see section 7.5 Built-in Variables,
and
Internationalization with gawk
).
awk
program source code
(see section Octal and Hexadecimal Numbers).
gawk
for Network Programming).
close
that allows closing one end
of a two-way pipe to a coprocess
(see section Two-Way Communications with Another Process).
match
function
for capturing text-matching subexpressions within a regexp
(see section String Manipulation Functions).
printf
formats for
making translations easier
(see section Rearranging printf
Arguments).
asort
function for sorting arrays
(see section Sorting Array Values and Indices with gawk
).
bindtextdomain
and dcgettext
functions
for internationalization
(see section Internationalizing awk
Programs).
extension
built-in function and the ability to add
new built-in functions dynamically
(see section Adding New Built-in Functions to gawk
).
mktime
built-in function for creating timestamps
(see section Using gawk
's Timestamp Functions).
and
,
or
,
xor
,
compl
,
lshift
,
rshift
,
and
strtonum
built-in
functions
(see section Using gawk
's Bit Manipulation Functions).
gawk
's nextfile
Statement).
pgawk
, the
profiling version of gawk
, for producing execution
profiles of awk
programs
(see section Profiling Your awk
Programs).
gawk
with BSD Portals).
gawk
for Unix).
gettext
for gawk
's own message output
(see section gawk
Can Speak Your Language).
gawk
on BeOS).
gawk
on a Tandem).
gawk
on the Atari ST).
ansi2knr
to convert the code on systems with old compilers.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |