[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
6.3.2 Variable Typing and Comparison Expressions
The Guide is definitive. Reality is frequently inaccurate.
The Hitchhiker’s Guide to the Galaxy
Unlike other programming languages, awk
variables do not have a
fixed type. Instead, they can be either a number or a string, depending
upon the value that is assigned to them.
We look now at how variables are typed, and how awk
compares variables.
6.3.2.1 String Type Versus Numeric Type | String type versus numeric type. | |
6.3.2.2 Comparison Operators | The comparison operators. | |
6.3.2.3 String Comparison With POSIX Rules | String comparison with POSIX rules. |