Use of variables
Variables
bash$ awk '{ a++ } END{ print a, "lines." }'
- are created automatically when they are referenzated the first time
- they are initialized to 0 or to the empty string
- can be of the type integer and/or string (or arrays)
- the type is determinated by its content