The awk language evolved considerably between the release of Version 7 Unix (1978) and the new version that was first made generally available in System V Release 3.1 (1987). This section summarizes the changes, with cross-references to further details:
return
statement
(see User-defined).
delete
statement (see Delete).
do
-while
statement
(see Do Statement).
atan2()
, cos()
, sin()
, rand()
, and
srand()
(see Numeric Functions).
gsub()
, sub()
, and match()
(see String Functions).
close()
and system()
(see I/O Functions).
ARGC
, ARGV
, FNR
, RLENGTH
, RSTART
,
and SUBSEP
built-in variables (see Built-in Variables).
$0
(see Changing Fields).
for
statements (see Reference to Elements).
FS
(see Field Separators) and as the
third argument to the split()
function
(see String Functions), rather than using only the first character
of FS
.
getline
function
(see Getline).
BEGIN
and END
rules
(see BEGIN/END).