AWK: Difference between revisions

Content added Content deleted
No edit summary
Line 12: Line 12:


= Built In Variables =
= Built In Variables =

* Awk’s built-in variables include the field variables—$1, $2, $3,
* $0 is the entire line.


* NR: current count of the number of lines.
* NR: current count of the number of lines.