Variables (The GNU Awk User’s Guide)
From Get docs
Gawk/docs/latest/Variables
Next: Conversion, Previous: Using Constant Regexps, Up: Values [Contents][Index]
6.1.3 Variables
Variables are ways of storing values at one point in your program for use later in another part of your program. They can be manipulated entirely within the program text, and they can also be assigned values on the awk
command line.
• Using Variables | Using variables in your programs. | |
• Assignment Options | Setting variables on the command line and a summary of command-line syntax. This is an advanced method of input. |