|
|
Unlike variables in C, awk variables do not need to be declared; that is, the type of information stored need not be defined beforehand. By default, awk variables have both a character string value and a numeric value: the appropriate one is derived from the context. Variable names must not contain spaces or periods.
The following sections describe the various variable types supported.