gawk: Expressions

1 
1 6 Expressions
1 *************
1 
1 Expressions are the basic building blocks of 'awk' patterns and actions.
1 An expression evaluates to a value that you can print, test, or pass to
1 a function.  Additionally, an expression can assign a new value to a
1 variable or a field by using an assignment operator.
1 
1    An expression can serve as a pattern or action statement on its own.
1 Most other kinds of statements contain one or more expressions that
1 specify the data on which to operate.  As in other languages,
1 expressions in 'awk' can include variables, array references, constants,
1 and function calls, as well as combinations of these with various
1 operators.
1 

Menu