gawk: V7/SVR3
A.1 Major Changes Between V7 and SVR3.1
=======================================
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 minor node summarizes the changes,
with cross-references to further details:
Statements/Lines::)
User-defined::)
* The 'delete' statement (Delete)
* The 'do'-'while' statement (Do Statement)
* The built-in functions 'atan2()', 'cos()', 'sin()', 'rand()', and
'srand()' (Numeric Functions)
String Functions::)
Functions::)
* The 'ARGC', 'ARGV', 'FNR', 'RLENGTH', 'RSTART', and 'SUBSEP'
predefined variables (Built-in Variables)
* Assignable '$0' (Changing Fields)
Conditional Exp::)
Reference to Elements::)
* The exponentiation operator '^' (Arithmetic Ops) and its
assignment operator form '^=' (Assignment Ops)
* C-compatible operator precedence, which breaks some old 'awk'
programs (Precedence)
* Regexps as the value of 'FS' (Field Separators) and as the
third argument to the 'split()' function (String
Functions), rather than using only the first character of 'FS'
Computed Regexps::)
Sequences::)
* Redirection of input for the 'getline' function (Getline)
* Multiple 'BEGIN' and 'END' rules (BEGIN/END)
* Multidimensional arrays (Multidimensional)