Node:SVR4, Next:POSIX, Previous:V7/SVR3.1, Up:Language History
The System V Release 4 (1989) version of Unix awk
added these features
(some of which originated in gawk
):
ENVIRON
variable (see Built-in Variables).
-f
options on the command line
(see Command-Line Options).
-v
option for assigning variables before program execution begins
(see Command-Line Options).
--
option for terminating command-line options.
\a
, \v
, and \x
escape sequences
(see Escape Sequences).
srand
built-in function
(see Numeric Functions).
toupper
and tolower
built-in string functions
for case translation
(see String Manipulation Functions).
%c
format-control letter in the
printf
function
(see Format-Control Letters).
"%*.*d"
)
in the argument list of the printf
function
(see Format-Control Letters).
/foo/
, as expressions, where
they are equivalent to using the matching operator, as in $0 ~ /foo/
(see Using Regular Expression Constants).