DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Using awk

Variables

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.


Next topic: Field variables
Previous topic: Formatting awk output

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003